diff --git a/snikket/docker-compose.yml b/snikket/docker-compose.yml new file mode 100644 index 0000000..08c4fd4 --- /dev/null +++ b/snikket/docker-compose.yml @@ -0,0 +1,37 @@ +services: + snikket_proxy: + container_name: snikket-proxy + image: snikket/snikket-web-proxy:stable + env_file: snikket.conf + network_mode: host + volumes: + - snikket_data:/snikket + - acme_challenges:/var/www/html/.well-known/acme-challenge + restart: "unless-stopped" + snikket_certs: + container_name: snikket-certs + image: snikket/snikket-cert-manager:stable + env_file: snikket.conf + volumes: + - snikket_data:/snikket + - acme_challenges:/var/www/.well-known/acme-challenge + restart: "unless-stopped" + snikket_portal: + container_name: snikket-portal + image: snikket/snikket-web-portal:stable + network_mode: host + env_file: snikket.conf + restart: "unless-stopped" + + snikket_server: + container_name: snikket + image: snikket/snikket-server:stable + network_mode: host + volumes: + - snikket_data:/snikket + env_file: snikket.conf + restart: "unless-stopped" + +volumes: + acme_challenges: + snikket_data: diff --git a/snikket/snikket.conf b/snikket/snikket.conf new file mode 100644 index 0000000..1e49b8c --- /dev/null +++ b/snikket/snikket.conf @@ -0,0 +1,7 @@ +# The primary domain of your Snikket instance +SNIKKET_DOMAIN= +# An email address where the admin can be contacted +# (also used to register your Let's Encrypt account to obtain certificates) +SNIKKET_ADMIN_EMAIL= +SNIKKET_TWEAK_HTTP_PORT=5080 +SNIKKET_TWEAK_HTTPS_PORT=5443