瀏覽代碼

can run as unpriv user in pod afterall

Pi 3 周之前
父節點
當前提交
7aad9561e8
共有 1 個文件被更改,包括 1 次插入8 次删除
  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: