services: php: build: context: . dockerfile: docker/php/Dockerfile container_name: dredge-tours-php volumes: - .:/var/www/html ports: - "5173:5173" networks: - dredge-tours nginx: image: nginx:1.27 container_name: dredge-tours-nginx ports: - "8080:80" volumes: - .:/var/www/html - ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf depends_on: - php networks: - dredge-tours postgres: image: postgres:16 container_name: dredge-tours-postgres environment: POSTGRES_USER: dredge POSTGRES_PASSWORD: dredge123 POSTGRES_DB: dredge_tours volumes: - pgdata:/var/lib/postgresql/data ports: - "5432:5432" networks: - dredge-tours networks: dredge-tours: volumes: pgdata: