Browse Source

no need to publish ports

Pi 3 tuần trước cách đây
mục cha
commit
1a041b4d33
1 tập tin đã thay đổi với 2 bổ sung7 xóa
  1. 2 7
      docker-compose.yml

+ 2 - 7
docker-compose.yml

@@ -1,20 +1,15 @@
 ---
-version: '3.9'
-
 services:
-
   web:
-    image: lovasoa/sqlpage:latest
+    image: docker.io/lovasoa/sqlpage:latest
     hostname: grocery-web
     volumes:
       - ./sqlpage:/var/www/
       - ./sqlpage/sqlpage:/etc/sqlpage:ro
       - ./sqlpage/sqlpage/sqlpage.json:/etc/sqlpage/sqlpage.json:ro
-    ports:
-      - 192.168.0.20:6762:6772
     expose:
       - 6772
-    restart: always
+    restart: unless-stopped
     networks:
       - priv