Prechádzať zdrojové kódy

can run as unpriv user in pod afterall

Pi 3 týždňov pred
rodič
commit
7aad9561e8
1 zmenil súbory, kde vykonal 1 pridanie a 8 odobranie
  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: