cuddle-rust-service-plan/templates/docker-compose.deploy_release.yml
2022-08-14 17:27:44 +02:00

18 lines
296 B
YAML

version: '3.7'
services:
{{.service}}:
image: {{.image}}
ports:
- {{.ports}}
env_file: ".env"
restart: always
depends_on:
- db
db:
image: postgres:13.5
restart: always
env_file: ".env"
volumes:
- ./data/postgres:/var/lib/postgresql/data