cuddle-rust-service-plan/templates/docker-compose.deploy_release.yml.tmpl

18 lines
298 B
Cheetah
Raw Normal View History

2022-08-14 17:27:44 +02:00
version: '3.7'
services:
2022-08-14 20:12:22 +02:00
{{ service }}:
image: {{ image }}
2022-08-14 17:27:44 +02:00
ports:
2022-08-14 20:12:22 +02:00
- {{ port }}
2022-08-14 17:27:44 +02:00
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