Browse Source

can run as unpriv user in pod afterall

Pi 3 weeks ago
parent
commit
bf20315cdf
1 changed files with 2 additions and 9 deletions
  1. 2 9
      docker-compose.yml

+ 2 - 9
docker-compose.yml

@@ -1,26 +1,19 @@
 ---
 ---
-x-podman:
-  in_pod: false
-
 services:
 services:
   auth:
   auth:
     image: auth
     image: auth
     hostname: auth
     hostname: auth
-    #user: "1000:1000"
-    user: "0:0"
+    restart: unless-stopped
     build:
     build:
       context: .
       context: .
-      dockerfile: Dockerfile-auth
+      dockerfile: Dockerfile
     volumes:
     volumes:
       - /etc/private-ca:/etc/private-ca:ro
       - /etc/private-ca:/etc/private-ca:ro
       - ./hashes.py:/usr/src/app/hashes.py
       - ./hashes.py:/usr/src/app/hashes.py
-    ports:
-      - 192.168.0.20:1235:1234
     expose:
     expose:
       - 1234
       - 1234
     networks:
     networks:
       - priv
       - priv
-    restart: unless-stopped
 
 
 networks:
 networks:
   priv:
   priv: