Files
shuffle-cracked/docker-compose.yml
T
2020-05-22 19:13:51 +02:00

61 lines
1.4 KiB
YAML

version: '3'
services:
frontend:
#build: ./frontend
image: frikky/shuffle:frontend
container_name: shuffle-frontend
hostname: shuffle-frontend
ports:
- "3001:80"
networks:
- shuffle
restart: unless-stopped
depends_on:
- backend
database:
#build: ./backend/database
image: frikky/shuffle:database
container_name: shuffle-database
hostname: shuffle-database
networks:
- shuffle
restart: unless-stopped
volumes:
- /etc/shuffle:/etc/shuffle
backend:
#build: ./backend
image: frikky/shuffle:backend
container_name: shuffle-backend
hostname: ${BACKEND_HOSTNAME}
# Here for debugging:
ports:
- "${BACKEND_PORT}:5001"
networks:
- shuffle
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- ORG_ID=${ORG_ID}
- DATASTORE_EMULATOR_HOST=shuffle-database:8000
restart: unless-stopped
depends_on:
- database
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
environment:
- ORG_ID=${ORG_ID}
- ENVIRONMENT_NAME=${ENVIRONMENT_NAME}
- BASE_URL=http://${OUTER_HOSTNAME}:${BACKEND_PORT}
- DOCKER_API_VERSION=1.40
restart: unless-stopped
networks:
shuffle:
driver: bridge