summary refs log tree commit diff stats
path: root/swag
diff options
context:
space:
mode:
authorBiRabittoh <birabittoh@tilde.institute>2023-07-10 02:18:21 +0200
committerBiRabittoh <birabittoh@tilde.institute>2023-07-10 02:18:21 +0200
commita981c9256c4e542b87bffc7f9228b9cc68c3c5f8 (patch)
tree29ecc0d74710f9494eeabad650c0d9f941c7cd50 /swag
downloadmy-docker-compose-a981c9256c4e542b87bffc7f9228b9cc68c3c5f8.tar.gz
Initial commit
Diffstat (limited to 'swag')
-rw-r--r--swag/docker-compose.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/swag/docker-compose.yml b/swag/docker-compose.yml
new file mode 100644
index 0000000..5f34741
--- /dev/null
+++ b/swag/docker-compose.yml
@@ -0,0 +1,29 @@
+version: "2.1"
+services:
+    swag:
+        image: ghcr.io/linuxserver/swag
+        container_name: swag
+        cap_add:
+            - NET_ADMIN
+        environment:
+            - PUID=1000
+            - PGID=1000
+            # valid TZs at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
+            - TZ=Europe/Rome
+            - URL=birabittoh.duckdns.org
+            - SUBDOMAINS=wildcard
+            - VALIDATION=duckdns
+            - CERTPROVIDER= #optional
+            - DNSPLUGIN= #optional
+            - DUCKDNSTOKEN=d6b922e5-979e-4622-9a11-d3c1e247aa4c
+            - EMAIL=birabittoh@duck.com #optional
+            - ONLY_SUBDOMAINS=false #optional
+            - EXTRA_DOMAINS=y #optional
+            - STAGING=false #optional
+        volumes:
+            - /etc/config/swag:/config
+        ports:
+            - 443:443
+            - 80:80
+        restart: unless-stopped
+