Add files

This commit is contained in:
BBaoVanC 2022-04-18 20:03:26 -05:00
parent 3f3de139c8
commit 49112fbb17
2 changed files with 32 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
data/
.env
config.toml

29
docker-compose.yaml Normal file
View 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