version: '2' services: phppgadmin: image: dockage/phppgadmin ports: - "8001:80" restart: always environment: PHP_PG_ADMIN_SERVER_DESC: "POSTGRES" PHP_PG_ADMIN_SERVER_HOST: postgres PHP_PG_ADMIN_SERVER_PORT: 5432 PHP_PG_ADMIN_SERVER_SSL_MODE: disabled PHP_PG_ADMIN_SERVER_DEFAULT_DB: postgres postgres: image: postgres:9.6 restart: always environment: POSTGRES_PASSWORD: example nginx: image: nginx ports: - "8000:8000" restart: always volumes: - ./nginx.conf:/etc/nginx/nginx.conf