sqldb-ws/db/docker-compose.yml

35 lines
696 B
YAML
Raw Normal View History

2023-08-23 21:33:00 +02:00
version: '3.1'
services:
pg:
image: postgres:alpine
restart: always
volumes:
- ./autoload:/docker-entrypoint-initdb.d
2024-01-04 15:14:59 +01:00
- /opt/data/containers/sqldb/pgdata:/var/lib/postgresql/data
2023-08-23 21:33:00 +02:00
environment:
POSTGRES_DB: test
POSTGRES_USER: test
POSTGRES_PASSWORD: test
ports:
- 5432:5432
adminer:
image: adminer
restart: always
ports:
2024-01-04 15:14:59 +01:00
- 8888:8080
grafana:
image: grafana/grafana:9.5.12
restart: always
environment:
GF_SMTP_ENABLED: "true"
GF_SMTP_HOST: "smtp.example.com"
ports:
- "3000:3000"
volumes:
- /opt/data/containers/sqldb/grafana:/var/lib/grafana
depends_on:
- pg