浏览代码

can run as unpriv user in pod afterall

Pi 3 周之前
父节点
当前提交
bf20315cdf
共有 1 个文件被更改,包括 2 次插入9 次删除
  1. 2 9
      docker-compose.yml

+ 2 - 9
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
+      dockerfile: Dockerfile
     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: