]> Untitled Git - proxy.git/blobdiff - docker-compose.yml
Squashed commit of the following:
[proxy.git] / docker-compose.yml
index 12ff6bb8a387b260f50e1f6ec21d2cc293e43cb8..7007838924fc8b5661e492f37eb00ce825e48af4 100644 (file)
@@ -1,59 +1,17 @@
-# requires variable config loading, such as:
-# docker stack deploy -c <(docker-compose config) proxy
-#
-# also needs an .env file with some variables like:
-# LOCAL_STORAGE=/mnt/data2/purplebirdman/art
-# IPV4_WAN=public.purplebirdman.com
-
 version: '3'
-services:
+networks:
     proxy:
-        image: nginx:1.17
-        deploy:
-            restart_policy:
-                condition: on-failure
-                delay: 5s
-                max_attempts: 5
-                window: 10s
+        external: true
+services:
+    web:
+        image: nginx:1.27-alpine
         volumes:
-        - ./proxy/nginx.conf:/etc/nginx/nginx.conf
+        - /etc/letsencrypt/:/etc/letsencrypt/
+        - ./conf.d/:/etc/nginx/conf.d/
         environment:
         - NGINX_HOST=purplebirdman.com
-        - NGINX_PORT=80
+        - NGINX_PORT=443
         ports:
-        - 80:80
         - 443:443
-    kanboard:
-        image: kanboard/kanboard:v1.2.26
-        deploy:
-            restart_policy:
-                condition: on-failure
-                delay: 5s
-                max_attempts: 5
-                window: 10s
-        volumes:
-        - kanboard_data:/var/www/app/data
-        - kanboard_plugins:/var/www/app/plugins
-        - kanboard_ssl:/etc/nginx/ssl
-    public:
-        image: cliftonpalmer/public:1.0.0
-        volumes:
-        - ${LOCAL_STORAGE}:/storage
-        - public_data:/usr/local/apache2/htdocs
-        environment:
-        - PUBLIC_ROOT_DIR=/storage
-        - PUBLIC_LINK_DIR=/usr/local/apache2/htdocs
-        - PUBLIC_HTTP_URI=http://${IPV4_WAN}
-volumes:
-    kanboard_data:
-        driver: local
-        driver_opts:
-            o: bind
-            type: none
-            device: /mnt/kanboard_data
-    kanboard_plugins:
-        driver: local
-    kanboard_ssl:
-        driver: local
-    public_data:
-        driver: local
+        networks:
+        - proxy