This repository has been archived on 2022-04-18. You can view files and clone it, but cannot push or open issues or pull requests.
listmonk/docker-compose.yaml
2022-04-18 20:03:26 -05:00

30 lines
656 B
YAML

version: "3.8"
services:
postgres:
image: postgres:14
restart: always
environment:
- POSTGRES_USER=listmonk
- POSTGRES_PASSWORD
- POSTGRES_DB=listmonk
volumes:
- ./data/postgres:/var/lib/postgresql/data/
healthcheck:
test: pg_isready -U listmonk -d listmonk
interval: 10s
timeout: 5s
retries: 5
listmonk:
image: listmonk/listmonk:latest
restart: always
environment:
- TZ=America/Chicago
volumes:
- ./config.toml:/listmonk/config.toml
- ./data/listmonk/uploads:/listmonk/uploads/
ports:
- 127.0.0.1:85:9000
depends_on:
- postgres