infrastructure/ansible/roles/comentario/files/docker-compose.yml

28 lines
620 B
YAML
Raw Normal View History

2024-06-22 21:20:54 +01:00
services:
comentario:
image: registry.gitlab.com/comentario/comentario:v3.11.0
2024-06-22 21:20:54 +01:00
restart: unless-stopped
user: "{{ docker_user.id }}:{{ docker_user.id }}"
depends_on:
- db
networks:
- default
- coredns
volumes:
- ./secrets.yml:/comentario/secrets.yaml
environment:
- BASE_URL=https://comentario.theorangeone.net
db:
2024-11-16 18:00:24 +00:00
image: postgres:17-alpine
2024-06-22 21:20:54 +01:00
restart: unless-stopped
volumes:
- ./postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=comentario
- POSTGRES_USER=comentario
networks:
coredns:
external: true