covas-deployment/server/templates/docker-compose-db.yml.j2

40 lines
638 B
Plaintext
Raw Normal View History

version: "3.3"
services:
db:
image: postgres
volumes:
- app-db-data:/var/lib/postgresql/data/pgdata
env_file:
- .env
environment:
- PGDATA=/var/lib/postgresql/data/pgdata
ports:
- "54321:5432"
2023-01-10 21:58:12 +01:00
mongo:
image: mongo
env_file:
- .env
ports:
- "28017:27017"
redis:
image: redis/redis-stack-server:latest
ports:
- "63791:6379"
{% if covas_liquibase == true %}
liquibase:
build:
context: ./covas-liquibase
dockerfile: Dockerfile
depends_on:
- db
command:
- "update"
{% endif %}
volumes:
app-db-data: