re-organizing playbook deploy-db

This commit is contained in:
2022-10-08 18:15:53 +02:00
parent fd1d6b6261
commit a844e10970
22 changed files with 116 additions and 215 deletions

View File

@@ -0,0 +1,30 @@
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"
redis:
image: redis/redis-stack-server:latest
ports:
- "63791:6379"
liquibase:
build:
context: ./covas-liquibase
dockerfile: Dockerfile
depends_on:
- db
command:
- "update"
volumes:
app-db-data: