Browse Source

fix lychee limits and expose to public

Blaine Story 9 months ago
parent
commit
0fdba8dd84
1 changed files with 15 additions and 1 deletions
  1. 15 1
      group_vars/shareunderware.yml

+ 15 - 1
group_vars/shareunderware.yml

@@ -44,7 +44,7 @@ containers:
     environment:
       - URL=shareunderware.com
       - VALIDATION=http
-      - SUBDOMAINS=git,news,pasta,
+      - SUBDOMAINS=git,news,pasta,pics,
       - EMAIL=certbot@blainestory.com
     mem_limit: 100m
     networks:
@@ -78,3 +78,17 @@ containers:
     mem_limit: 100m
     networks:
       - shareunderware
+
+
+  - name: lychee
+    active: true
+    image: lycheeorg/lychee
+    include_global_env_vars: true
+    restart: unless-stopped
+    volumes:
+      - /opt/lychee/conf:/conf
+      - /opt/lychee/uploads:/uploads
+      - /opt/lychee/sym:/sym
+    mem_limit: 500m
+    networks:
+      - shareunderware