|
@@ -5,7 +5,7 @@ x-podman:
|
|
services:
|
|
services:
|
|
web:
|
|
web:
|
|
image: docker.io/lovasoa/sqlpage:latest
|
|
image: docker.io/lovasoa/sqlpage:latest
|
|
- hostname: util-sqlpage
|
|
|
|
|
|
+ hostname: util-web
|
|
user: "1000:1000"
|
|
user: "1000:1000"
|
|
userns_mode: "keep-id:uid=1000,gid=1000"
|
|
userns_mode: "keep-id:uid=1000,gid=1000"
|
|
volumes:
|
|
volumes:
|
|
@@ -13,8 +13,6 @@ services:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- ./util-sqlpage/:/var/www/
|
|
- ./util-sqlpage/:/var/www/
|
|
- ./util-sqlpage/sqlpage:/etc/sqlpage:ro
|
|
- ./util-sqlpage/sqlpage:/etc/sqlpage:ro
|
|
- ports:
|
|
|
|
- - 192.168.0.20:8091:8080
|
|
|
|
expose:
|
|
expose:
|
|
- 8080
|
|
- 8080
|
|
networks:
|
|
networks:
|
|
@@ -23,14 +21,12 @@ services:
|
|
|
|
|
|
proxy:
|
|
proxy:
|
|
image: util-pyapi
|
|
image: util-pyapi
|
|
- hostname: util-pyapi
|
|
|
|
|
|
+ hostname: util-proxy
|
|
build:
|
|
build:
|
|
context: .
|
|
context: .
|
|
dockerfile: rest/Dockerfile
|
|
dockerfile: rest/Dockerfile
|
|
volumes:
|
|
volumes:
|
|
- ./util-sqlpage/util.db:/usr/src/app/util.db:ro
|
|
- ./util-sqlpage/util.db:/usr/src/app/util.db:ro
|
|
- ports:
|
|
|
|
- - 192.168.0.20:6771:6772
|
|
|
|
expose:
|
|
expose:
|
|
- 6772
|
|
- 6772
|
|
networks:
|
|
networks:
|