Browse Source

can run as unpriv user in pod afterall

Pi 3 weeks ago
parent
commit
7aad9561e8
1 changed files with 1 additions and 8 deletions
  1. 1 8
      docker-compose.yml

+ 1 - 8
docker-compose.yml

@@ -1,26 +1,19 @@
 ---
-x-podman:
-  in_pod: false
-
 services:
   auth:
     image: auth
     hostname: auth
-    #user: "1000:1000"
-    user: "0:0"
+    restart: unless-stopped
     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:
       - priv
-    restart: unless-stopped
 
 networks:
   priv: