summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-09-10 15:53:59 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-09-10 15:58:53 +0200
commit61d74355a7b702917ae314c1c595b24fb8621a21 (patch)
tree3b2b1f5e305ef9a9d6679a7bb106e218a99f3703
parent8f978b683ab51e37f6bdda65f4dc40d11a5e38b7 (diff)
fix(docker): Default to public images for deployment
This change updates the Docker Compose configuration to default to the available public images for OpenDC, in order to remove the requirement for building OpenDC locally.
-rw-r--r--docker-compose.override.yml3
-rw-r--r--docker-compose.yml13
2 files changed, 7 insertions, 9 deletions
diff --git a/docker-compose.override.yml b/docker-compose.override.yml
index b37068fc..6202e299 100644
--- a/docker-compose.override.yml
+++ b/docker-compose.override.yml
@@ -3,18 +3,21 @@ version: "3.8"
# Docker Compose overrides for development environments
services:
frontend:
+ build: opendc-web/opendc-web-ui
ports:
- "8080:3000"
environment:
NEXT_PUBLIC_API_BASE_URL: http://localhost:8081
api:
+ build: opendc-web/opendc-web-api
ports:
- "8081:80"
environment:
SENTRY_ENVIRONMENT: "development"
simulator:
+ build: .
environment:
SENTRY_ENVIRONMENT: "development"
diff --git a/docker-compose.yml b/docker-compose.yml
index 57d2e021..18847736 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,9 +1,7 @@
version: "3.8"
services:
frontend:
- build:
- context: opendc-web/opendc-web-ui
- image: frontend
+ image: atlargeresearch/opendc-web-ui:v2.1
restart: on-failure
networks:
- backend
@@ -14,8 +12,7 @@ services:
NEXT_PUBLIC_SENTRY_DSN: ${OPENDC_FRONTEND_SENTRY_DSN-}
api:
- build: opendc-web/opendc-web-api
- image: api
+ image: atlargeresearch/opendc-web-api:v2.1
restart: on-failure
networks:
- backend
@@ -35,8 +32,7 @@ services:
- SENTRY_ENVIRONMENT
simulator:
- build: .
- image: simulator
+ image: atlargeresearch/opendc:v2.1
restart: on-failure
networks:
- backend
@@ -56,8 +52,7 @@ services:
- SENTRY_ENVIRONMENT
mongo:
- build:
- context: database
+ build: database
restart: on-failure
environment:
- MONGO_INITDB_ROOT_USERNAME