bottin/v4/docker-compose.yaml

30 lines
488 B
YAML
Raw Normal View History

2023-05-25 02:21:09 -04:00
services:
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'
#api:
# depends_on: db
#web:
# depends_on: api
2023-05-25 02:21:09 -04:00
adminer:
image: adminer
restart: always
ports:
- 8088:8080
depends_on:
- db
2023-05-25 02:21:09 -04:00
volumes:
pgdata: