version: "3" services: server: build: context: ./server volumes: - ./logs:/home/node/app/logs environment: - DATABASE_URL=postgresql://postgres:postgres@db/pckd - DATABASE_TYPE=postgres - JWT_SECRET=verysecurestring - IPREGISTRY_API_KEY=f1ntkcjoqaazglj7 depends_on: - db frontend: build: context: ./client ports: - 80:80 environment: - BACKEND_URL=http://server:4000 db: image: postgres:13-alpine volumes: - ./db:/var/lib/postgresql/data environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - POSTGRES_DB=pckd