services: app: build: context: ./ target: dev volumes: - "./src/:/var/www/html/:ro" admin: image: dpage/pgadmin4:latest restart: unless-stopped depends_on: - db ports: - 127.0.0.1:8314:80 environment: PGADMIN_DEFAULT_EMAIL: '${PGADMIN_EMAIL}' PGADMIN_DEFAULT_PASSWORD: '${PGADMIN_PASSWORD}'