Compare commits
No commits in common. "c91ab96642451cf25e4102922a6a45b0bd0b0101" and "deb9fd4f512565615ae9d2e017f7e899c80afc37" have entirely different histories.
c91ab96642
...
deb9fd4f51
2 changed files with 8 additions and 5 deletions
|
|
@ -170,10 +170,6 @@ ENV HAPPYDELIVER_DATABASE_TYPE=sqlite HAPPYDELIVER_DATABASE_DSN=/var/lib/happyde
|
|||
# Volume for persistent data
|
||||
VOLUME ["/var/lib/happydeliver", "/var/log/happydeliver"]
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
||||
CMD wget --quiet --tries=1 --spider http://localhost:8080/api/status || exit 1
|
||||
|
||||
# Set entrypoint
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: happydomain/happydeliver:latest
|
||||
image: happydeliver:latest
|
||||
container_name: happydeliver
|
||||
hostname: mail.happydeliver.local
|
||||
|
||||
|
|
@ -26,6 +26,13 @@ services:
|
|||
|
||||
restart: unless-stopped
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/api/status"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
volumes:
|
||||
data:
|
||||
logs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue