Browse Source

separate authentication service

Pi 4 weeks ago
parent
commit
71e75639ab
1 changed files with 15 additions and 74 deletions
  1. 15 74
      docker-compose.yml

+ 15 - 74
docker-compose.yml

@@ -1,89 +1,30 @@
-services:
-  activities:
-    image: lovasoa/sqlpage:latest
-    hostname: activities
-    volumes:
-      - /etc/timezone:/etc/timezone:ro
-      - /etc/localtime:/etc/localtime:ro
-      - ./activities/www/:/var/www/
-      - ./activities/sqlpage:/etc/sqlpage/
-      - ./activities/activities.db:/var/www/activities.db
-    networks:
-      - traefik
-    restart: always
-
-  util-sqlpage:
-    image: lovasoa/sqlpage:latest
-    hostname: util-sqlpage
-    volumes:
-      - /etc/timezone:/etc/timezone:ro
-      - /etc/localtime:/etc/localtime:ro
-      - ./util-sqlpage/:/var/www/
-      - ./util-sqlpage/sqlpage:/etc/sqlpage:ro
-    networks:
-      - traefik
-    restart: always
-
-  util-pyapi:
-    image: util-pyapi
-    hostname: util-pyapi
-    build:
-      context: .
-      dockerfile: rest/Dockerfile
-    volumes:
-      - ./util-sqlpage/util.db:/usr/src/app/util.db:ro
-    expose:
-      - 6772
-    networks:
-      - traefik
-    restart: always
-
-  home-sqlpage:
-    image: lovasoa/sqlpage:latest
-    hostname: home-sqlpage
-    volumes:
-      - ./home-sqlpage/:/var/www/
-      - ./home-sqlpage.json:/etc/sqlpage/sqlpage.json
-      - ./home-sqlpage/sqlpage/migrations:/etc/sqlpage/migrations
-    expose:
-      - 8080
-    networks:
-      - traefik
-    restart: always
-
-  home:
-    image: home-launcher
-    hostname: home-launcher
-    build: .
-    expose:
-      - 80
-    restart: always
-    volumes:
-      - /home/pi/www/feed:/usr/share/nginx/html/feed
-      - /home/cropswap-archive/www:/usr/share/nginx/html/mail-archive
-      - ./media:/usr/share/nginx/html/media
-      - ./fdroid:/usr/share/nginx/html/fdroid
-      - /home/pi/syncthing/wyn-apps:/usr/share/nginx/html/fdroid/repo
-      - ./.well-known:/usr/share/nginx/html/.well-known
-    networks:
-      - traefik
+---
+x-podman:
+  in_pod: false
 
+services:
   auth:
     image: auth
     hostname: auth
+    #user: "1000:1000"
+    user: "0:0"
     build:
       context: .
       dockerfile: Dockerfile-auth
     volumes:
       - /etc/private-ca:/etc/private-ca:ro
       - ./hashes.py:/usr/src/app/hashes.py
+    ports:
+      - 192.168.0.20:1235:1234
     expose:
       - 1234
     networks:
-      - traefik
-    restart: always
+      - priv
+    restart: unless-stopped
 
 networks:
-  traefik:
-    external: true
-
+  priv:
+    enable_ipv6: true
+    ipam:
+      config:
+       - subnet: fd00:0007::/64