Skip to content

Commit

Permalink
Update docker-compose with optional way to run the ship
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski committed Apr 3, 2024
1 parent ec25ede commit ec56f7e
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/docker/config/external-ship.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ship {

database.access.host = "postgres"

// organizations {
// values {
// example = "An example org"
// }
// }

// project-mapping {
// "org/proj": "neworg/newproject"
// }

}
18 changes: 18 additions & 0 deletions tests/docker/config/nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
server {
listen 80;
server_name localhost;
resolver 127.0.0.11;

location / {
proxy_pass http://web:8000;
}
location /v1 {
proxy_pass http://delta:8080;
}
location /blazegraph {
proxy_pass http://blazegraph:9999;
}
location /elasticsearch/ {
proxy_pass http://elasticsearch:9200/;
}
}
31 changes: 31 additions & 0 deletions tests/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,34 @@ services:
default:
# Set the container IP address in the 10.0.2.0/24 subnet
ipv4_address: 10.0.2.20

# fusion:
# depends_on:
# - delta
# image: bluebrain/nexus-web:1.9.9
# environment:
# BASE_PATH: "/"
# HOST_NAME: "http://localhost"
# API_ENDPOINT: "http://localhost/v1"

# router:
# depends_on:
# - web
# image: nginx:stable
# ports:
# - target: 80
# published: 80
# mode: host
# deploy:
# mode: global
# volumes:
# - ./config/nginx.conf:/etc/nginx/conf.d/default.conf

# ship:
# depends_on:
# - postgres
# image: bluebrain/nexus-ship:latest
# command: run --file "/tmp/export.json" --config "/config/external-ship.conf"
# volumes:
# - /tmp/ship:/tmp # put the export file in /tmp/ship locally
# - ./config:/config

0 comments on commit ec56f7e

Please sign in to comment.