2022-10-05 23:32:32 +02:00
|
|
|
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"
|
2022-10-05 23:32:32 +02:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis/redis-stack-server:latest
|
|
|
|
ports:
|
|
|
|
- "63791:6379"
|
2023-01-03 19:05:39 +01:00
|
|
|
{% if covas_liquibase == true %}
|
2022-10-05 23:32:32 +02:00
|
|
|
liquibase:
|
|
|
|
build:
|
|
|
|
context: ./covas-liquibase
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
command:
|
|
|
|
- "update"
|
2023-01-03 19:05:39 +01:00
|
|
|
{% endif %}
|
2022-10-05 23:32:32 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
app-db-data:
|