axiom-community-manager/composes/listmonk/listmonk.yml

16 lines
444 B
YAML
Raw Normal View History

2022-10-29 18:32:53 +02:00
services:
listmonk:
container_name: $APP_NAME-listmonk
image: listmonk/listmonk:latest
restart: always
ports:
2022-10-29 20:29:48 +02:00
- ${LISTMONK_PORT:-9000}:9000
2022-10-29 18:32:53 +02:00
depends_on:
postgres:
condition: service_healthy
volumes:
- ./config.toml:/listmonk/config.toml
environment:
- TZ=$GENERIC_TIMEZONE
command: /bin/sh -c "./listmonk --install --idempotent --yes && ./listmonk --upgrade --yes && ./listmonk"