Replace host networking with static port forwarding. Attempt to fix DNS DoH resolution.

This commit is contained in:
2022-12-13 19:23:16 +02:00
parent 2b4370024b
commit 6f38a09dc0
2 changed files with 7 additions and 4 deletions

View File

@@ -4,9 +4,9 @@ services:
uam:
image: debian:bullseye-slim
container_name: uam
hostname: uam
restart: unless-stopped
stop_grace_period: 20s
network_mode: host
stop_grace_period: 5s
ulimits:
rtprio: 95
memlock: -1
@@ -14,5 +14,8 @@ services:
- "./entrypoint.sh:/opt/entrypoint.sh"
- "/opt/uam_data:/root/.uam"
command: /bin/sh -c "chmod +x /opt/entrypoint.sh && /opt/entrypoint.sh $${PBKEY}"
ports:
- "127.0.0.1:17099:17099"
- "4156:4156"
environment:
- PBKEY=