From 2b773f3c24863deeee0e1ccdd461e00c22ca5e07 Mon Sep 17 00:00:00 2001 From: Harduino Date: Sat, 1 Aug 2020 21:31:30 +0300 Subject: [PATCH] siemonster :: we don't have to comment build every time in compose file as we can declare build/image simultaneously --- docker-compose.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8faba6f3..df00d6d0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: frontend: - #build: ./frontend + build: ./frontend image: frikky/shuffle:frontend container_name: shuffle-frontend hostname: shuffle-frontend @@ -16,19 +16,19 @@ services: depends_on: - backend backend: - #build: ./backend + build: ./backend image: frikky/shuffle:backend container_name: shuffle-backend hostname: ${BACKEND_HOSTNAME} # Here for debugging: - ports: + ports: - "${BACKEND_PORT}:5001" networks: - shuffle - volumes: - - /var/run/docker.sock:/var/run/docker.sock - - ${APP_HOTLOAD_LOCATION}:/shuffle-apps - environment: + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ${APP_HOTLOAD_LOCATION}:/shuffle-apps + environment: - DATASTORE_EMULATOR_HOST=shuffle-database:8000 - APP_HOTLOAD_FOLDER=/shuffle-apps - ORG_ID=${ORG_ID} @@ -42,14 +42,14 @@ services: depends_on: - database orborus: - #build: ./functions/onprem/orborus + build: ./functions/onprem/orborus image: frikky/shuffle:orborus container_name: shuffle-orborus hostname: shuffle-orborus networks: - shuffle - volumes: - - /var/run/docker.sock:/var/run/docker.sock + volumes: + - /var/run/docker.sock:/var/run/docker.sock environment: - ORG_ID=${ORG_ID} - ENVIRONMENT_NAME=${ENVIRONMENT_NAME} @@ -60,7 +60,7 @@ services: - SHUFFLE_PASS_WORKER_PROXY=${SHUFFLE_PASS_WORKER_PROXY} restart: unless-stopped database: - #build: ./backend/database + build: ./backend/database image: frikky/shuffle:database container_name: shuffle-database hostname: shuffle-database