siemonster :: we don't have to comment build every time in compose file as we can declare build/image simultaneously

This commit is contained in:
Harduino
2020-08-01 21:31:30 +03:00
parent f7dacd5792
commit 2b773f3c24
+4 -4
View File
@@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
frontend: frontend:
#build: ./frontend build: ./frontend
image: frikky/shuffle:frontend image: frikky/shuffle:frontend
container_name: shuffle-frontend container_name: shuffle-frontend
hostname: shuffle-frontend hostname: shuffle-frontend
@@ -16,7 +16,7 @@ services:
depends_on: depends_on:
- backend - backend
backend: backend:
#build: ./backend build: ./backend
image: frikky/shuffle:backend image: frikky/shuffle:backend
container_name: shuffle-backend container_name: shuffle-backend
hostname: ${BACKEND_HOSTNAME} hostname: ${BACKEND_HOSTNAME}
@@ -42,7 +42,7 @@ services:
depends_on: depends_on:
- database - database
orborus: orborus:
#build: ./functions/onprem/orborus build: ./functions/onprem/orborus
image: frikky/shuffle:orborus image: frikky/shuffle:orborus
container_name: shuffle-orborus container_name: shuffle-orborus
hostname: shuffle-orborus hostname: shuffle-orborus
@@ -60,7 +60,7 @@ services:
- SHUFFLE_PASS_WORKER_PROXY=${SHUFFLE_PASS_WORKER_PROXY} - SHUFFLE_PASS_WORKER_PROXY=${SHUFFLE_PASS_WORKER_PROXY}
restart: unless-stopped restart: unless-stopped
database: database:
#build: ./backend/database build: ./backend/database
image: frikky/shuffle:database image: frikky/shuffle:database
container_name: shuffle-database container_name: shuffle-database
hostname: shuffle-database hostname: shuffle-database