version: '3.6' services: dbpg: image: postgres restart: always environment: POSTGRES_PASSWORD: postgres volumes: - databasepg:/var/lib/postgresql/data - ./hostfiles:/hostfiles ports: - "5432:5432" adminer: image: adminer restart: always ports: - 8081:8080 pgadmin: image: dpage/pgadmin4 restart: always environment: PGADMIN_DEFAULT_EMAIL: info@wpstudio.ru PGADMIN_DEFAULT_PASSWORD: postgres ports: - "83:80" volumes: - ./hostfiles/pgadmin:/var/lib/pgadmin volumes: databasepg: