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: