Browse Source

no need to publish ports

Pi 3 weeks ago
parent
commit
bd9798f4ef
1 changed files with 3 additions and 9 deletions
  1. 3 9
      docker-compose.yml

+ 3 - 9
docker-compose.yml

@@ -5,7 +5,7 @@ x-podman:
 services:
   activity:
     image: docker.io/lovasoa/sqlpage:latest
-    hostname: activities
+    hostname: home-activity
     user: "1000:1000"
     userns_mode: "keep-id:uid=1000,gid=1000"
     restart: unless-stopped
@@ -15,8 +15,6 @@ services:
       - ./activities/www/:/var/www/
       - ./activities/sqlpage:/etc/sqlpage/
       - ./activities/activities.db:/var/www/activities.db
-    ports:
-      - 192.168.0.20:8789:8080
     expose:
       - 8080
     networks:
@@ -24,7 +22,7 @@ services:
 
   landing:
     image: docker.io/lovasoa/sqlpage:latest
-    hostname: home-sqlpage
+    hostname: home-landing
     user: "1000:1000"
     userns_mode: "keep-id:uid=1000,gid=1000"
     restart: unless-stopped
@@ -34,8 +32,6 @@ services:
       - ./home-sqlpage/:/var/www/
       - ./home-sqlpage.json:/etc/sqlpage/sqlpage.json
       - ./home-sqlpage/sqlpage/migrations:/etc/sqlpage/migrations
-    ports:
-      - 192.168.0.20:8092:8080
     expose:
       - 8080
     networks:
@@ -43,13 +39,11 @@ services:
 
   proxy:
     image: home-launcher
-    hostname: home-launcher
+    hostname: home-proxy
     #user: "1000:1000"
     #userns_mode: "keep-id:uid=1000,gid=1000"
     restart: unless-stopped
     build: .
-    ports:
-      - 192.168.0.20:8989:80
     expose:
       - 80
     volumes: