diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-04-21 18:46:40 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-04-21 18:46:40 -0700 |
commit | d14605d1388aaa7cc9ef1c230eae5ba14c9cef44 (patch) | |
tree | 59fcda0fae7899ca577eed1f72d89bff17d5ad5d /docker-compose.yml | |
download | backup-notify-d14605d1388aaa7cc9ef1c230eae5ba14c9cef44.tar.gz backup-notify-d14605d1388aaa7cc9ef1c230eae5ba14c9cef44.zip |
initial commit
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0dbf90f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +version: "3" + +services: + api: + restart: always + image: git.simponic.xyz/simponic/backup-notify + healthcheck: + test: ["CMD", "wget", "--spider", "http://localhost:8080/api/health"] + interval: 5s + timeout: 10s + retries: 5 + env_file: .env + volumes: + - ./db:/app/db + - ./templates:/app/templates + - ./static:/app/static + ports: + - "127.0.0.1:4455:8080" |