commit 35b8915a5ac42aee46f2aee5617717162a3e2ca4 Author: Francesco Picone Date: Mon Dec 29 15:24:21 2025 +0100 Primo caricamento diff --git a/.env b/.env new file mode 100644 index 0000000..d0369b8 --- /dev/null +++ b/.env @@ -0,0 +1,4 @@ +APP_PORT=8181 +GOTIFY_DEFAULTUSER_NAME=GOTIFY_DEFAULTUSER_NAME +GOTIFY_DEFAULTUSER_PASS=GOTIFY_DEFAULTUSER_PASS +RESTART=always \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..df03a85 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,15 @@ +services: + gotify: + image: gotify/server:latest + container_name: gotify + restart: ${RESTART} + ports: + - "${APP_PORT}:80" + environment: + - GOTIFY_DEFAULTUSER_NAME=${GOTIFY_DEFAULTUSER_NAME} + - GOTIFY_DEFAULTUSER_PASS=${GOTIFY_DEFAULTUSER_PASS} + volumes: + - ./gotify_data:/app/data + +volumes: + gotify_data: \ No newline at end of file