Add files
This commit is contained in:
parent
3f3de139c8
commit
49112fbb17
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
data/
|
||||||
|
.env
|
||||||
|
config.toml
|
29
docker-compose.yaml
Normal file
29
docker-compose.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
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
|
Reference in New Issue
Block a user