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-02-18 18:43:18 +01:00
|
|
|
- ./data:/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
|