From 35b8915a5ac42aee46f2aee5617717162a3e2ca4 Mon Sep 17 00:00:00 2001 From: Francesco Picone Date: Mon, 29 Dec 2025 15:24:21 +0100 Subject: [PATCH] Primo caricamento --- .env | 4 ++++ docker-compose.yml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .env create mode 100644 docker-compose.yml 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