1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
services: app: build: context: ./ target: dev restart: unless-stopped 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}'