2023-05-25 02:21:09 -04:00
|
|
|
services:
|
|
|
|
|
2023-05-25 19:22:46 -04:00
|
|
|
db:
|
2023-05-25 02:21:09 -04:00
|
|
|
image: postgres:latest
|
|
|
|
environment:
|
|
|
|
POSTGRES_DATABASE: "${BOTTIN_POSTGRES_DATABASE}"
|
|
|
|
POSTGRES_PASSWORD: "${BOTTIN_POSTGRES_PASSWORD}"
|
|
|
|
POSTGRES_USER: "${BOTTIN_POSTGRES_USER}"
|
|
|
|
ports:
|
|
|
|
- '5432:5432'
|
|
|
|
volumes:
|
|
|
|
- 'pgdata:/var/lib/postgresql/data'
|
|
|
|
|
2023-05-25 19:22:46 -04:00
|
|
|
#api:
|
|
|
|
# depends_on: db
|
|
|
|
|
|
|
|
#web:
|
|
|
|
# depends_on: api
|
|
|
|
|
2023-05-25 02:21:09 -04:00
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8088:8080
|
2023-05-25 19:22:46 -04:00
|
|
|
depends_on:
|
|
|
|
- db
|
2023-05-25 02:21:09 -04:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
pgdata:
|