cuddle-rust-service-plan/templates/docker-compose.deploy_release.yml.tmpl
2022-08-14 20:12:22 +02:00

18 lines
298 B
Cheetah

version: '3.7'
services:
{{ service }}:
image: {{ image }}
ports:
- {{ port }}
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