holiday-api/docker-compose-deploy.yml

28 lines
584 B
YAML
Raw Permalink Normal View History

2023-06-16 07:42:50 +00:00
version: '3.1'
services:
backend:
2023-06-20 14:10:46 +00:00
image: registry.bbr-dev.info/holiday-api/backend:latest
2023-06-16 07:42:50 +00:00
restart: on-failure
depends_on:
- database
ports:
- "5281:5281"
networks:
2023-06-20 14:10:46 +00:00
- holiday
2023-06-16 07:42:50 +00:00
env_file:
- .env.docker
database:
image: postgres:14
ports:
- "5432:5432"
environment:
2023-06-20 14:10:46 +00:00
- POSTGRES_USER=holiday
- POSTGRES_PASSWORD=holidayPassword
- POSTGRES_DB=holiday
2023-06-16 07:42:50 +00:00
networks:
2023-06-20 14:10:46 +00:00
- holiday
2023-06-16 07:42:50 +00:00
networks:
2023-06-20 14:10:46 +00:00
holiday: