karideo/bdd/docker-compose.yaml
2020-02-18 18:43:18 +01:00

24 lines
469 B
YAML

version: "3.7"
services:
bdd_service:
restart: always
image: postgres:alpine
environment:
PGDATA: /var/lib/postgresql/data
POSTGRES_DB: karideo
POSTGRES_USER: root
POSTGRES_PASSWORD: postgress_password
#this is for debug only
ports:
- 15032:5432
volumes:
- ./data:/var/lib/postgresql/data:rw
adminer:
image: adminer
restart: always
ports:
- 15079:8080
links:
- bdd_service:db