karideo/bdd/docker-compose.yaml

34 lines
689 B
YAML
Raw Normal View History

2020-02-15 09:08:07 +01:00
version: "3.7"
services:
2020-02-16 23:38:13 +01:00
bdd_service:
2020-02-15 09:08:07 +01:00
restart: always
image: postgres:alpine
environment:
PGDATA: /var/lib/postgresql/data
POSTGRES_DB: karideo
2020-02-18 18:43:18 +01:00
POSTGRES_USER: root
POSTGRES_PASSWORD: postgress_password
2020-02-16 23:38:13 +01:00
#this is for debug only
2020-02-15 09:08:07 +01:00
ports:
2020-02-18 18:43:18 +01:00
- 15032:5432
2020-02-15 09:08:07 +01:00
volumes:
2020-03-21 00:14:43 +01:00
- /workspace/data/karideo/bdd:/var/lib/postgresql/data:rw
2020-02-16 23:38:13 +01:00
adminer:
image: adminer
restart: always
ports:
- 15079:8080
links:
2020-02-18 18:43:18 +01:00
- bdd_service:db
2020-03-10 22:33:02 +01:00
pgadmin_service:
restart: always
image: dpage/pgadmin4
volumes:
2020-03-21 00:14:43 +01:00
- /workspace/data/karideo/pgadmin:/root/.pgadmin
2020-03-10 22:33:02 +01:00
ports:
- "15078:80"
links:
- bdd_service:db