version: "3" services: backend: build: context: . dockerfile: . networks: - caw ports: - "3001:3001" volumes: - ./config.yaml:/app/config.yaml environment: DATABASE_URL: postgresql://postgres:postgres@postgres:5432/postgres database: image: postgres:latest networks: - caw environment: POSTGRES_DB: postgres POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres volumes: - database:/var/lib/postgresql/data ports: - "5432:5432" cache: image: redis:latest networks: - caw ports: - "6379:6379" volumes: database: networks: caw: