+ postgres example config in docker compose yml

This commit is contained in:
2020-08-16 13:42:02 +03:00
parent 5f79d7bf2e
commit 79d68ae831

View File

@ -148,6 +148,29 @@ services:
PMA_PASSWORD: 123456
ports:
- "81:80"
dbpg:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: postgres
volumes:
- databasepg:/var/lib/postgresql/data
- /data/hostfiles:/hostfiles
adminer:
image: adminer
restart: always
ports:
- 8080:8080
pgadmin:
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: info@wpstudio.ru
PGADMIN_DEFAULT_PASSWORD: postgres
ports:
- "83:80"
volumes:
- /data/hostfiles/pgadmin:/var/lib/pgadmin
redis:
image: redis
restart: always