Browse Source

no need to publish ports

Pi 3 weeks ago
parent
commit
1a041b4d33
1 changed files with 2 additions and 7 deletions
  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