Files
Chromacase/docker-compose.prod.yml
Quentin Treheux e971073ac4 Make CI works (#121)
Co-authored-by: GitBluub <louis.auzuret@gmail.com>
2023-01-25 15:40:05 +09:00

42 lines
855 B
YAML

services:
back:
image: ghcr.io/chroma-case/back:main
ports:
- "3000:3000"
depends_on:
db:
condition: service_healthy
env_file:
- .env
volumes:
- ./musics:/musics
scorometer:
image: ghcr.io/chroma-case/scorometer:main
ports:
- "6543:6543"
volumes:
- ./musics:/musics
db:
container_name: db
image: postgres:alpine3.14
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 5
front:
image: ghcr.io/chroma-case/front:main
ports:
- "80:80"
depends_on:
- "back"
env_file:
- .env