diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-28 11:38:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 11:38:11 +0100 |
| commit | bb03ab6a934eaf29cea86e877c4b2024f068dd1c (patch) | |
| tree | 761afe2c0f26a44d75cb12f87c31c1ecc08105f9 /docker-compose.yml | |
| parent | 38fc6fa35ca4545a6068aaa759359c271c9f5197 (diff) | |
| parent | b2cb04229766457c9eb784d1911192bceea3a032 (diff) | |
Merge pull request #51 from atlarge-research/build/migration
Migrate opendc.org to OpenDC v2
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index c3e62317..4d62b7cd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,23 +4,16 @@ services: build: context: ./frontend args: - - REACT_APP_OAUTH_CLIENT_ID=${OPENDC_OAUTH_CLIENT_ID} + OPENDC_OAUTH_CLIENT_ID: ${OPENDC_OAUTH_CLIENT_ID} image: frontend restart: on-failure networks: - backend - depends_on: - - api - ports: - - "8081:80" api: build: ./api image: api restart: on-failure - # Comment out these 2 lines for deployment - ports: - - "8082:8081" networks: - backend depends_on: @@ -35,8 +28,6 @@ services: - OPENDC_DB_HOST=mongo - OPENDC_FLASK_SECRET - OPENDC_OAUTH_CLIENT_ID - - OPENDC_ROOT_DIR - - OPENDC_SERVER_BASE_URL simulator: build: ./simulator @@ -73,25 +64,9 @@ services: - OPENDC_DB_PASSWORD networks: - backend - # Comment out for public deployment - ports: - - "27017:27017" volumes: - mongo-volume:/data/db - mongo-express: - image: mongo-express - restart: on-failure - networks: - - backend - depends_on: - - mongo - ports: - - "8083:8081" - environment: - ME_CONFIG_MONGODB_ADMINUSERNAME: "${MONGO_INITDB_ROOT_USERNAME}" - ME_CONFIG_MONGODB_ADMINPASSWORD: "${MONGO_INITDB_ROOT_PASSWORD}" - volumes: mongo-volume: results-volume: |
