services: listmonk: container_name: $APP_NAME-listmonk image: listmonk/listmonk:latest restart: always ports: - ${LISTMONK_PORT:-9000}:9000 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"