uam-docker/uam/docker-compose.yml

28 lines
649 B
YAML
Raw Normal View History

version: '2.4'
2022-12-01 18:32:20 +01:00
services:
uam:
image: debian:bullseye-slim
container_name: uam
hostname: uam
2022-12-01 18:32:20 +01:00
restart: unless-stopped
stop_grace_period: 5s
2022-12-01 18:32:20 +01:00
ulimits:
rtprio: 95
memlock: -1
oom_score_adj: -700
mem_swappiness: 10
cap_add:
- NET_ADMIN
2022-12-01 18:32:20 +01:00
volumes:
- "./entrypoint.sh:/opt/entrypoint.sh"
2022-12-08 08:45:28 +01:00
- "/opt/uam_data:/root/.uam"
command: /bin/sh -c "chmod +x /opt/entrypoint.sh && /opt/entrypoint.sh $${PBKEY} $${NETLIMUP} $${NETLIMDOWN}"
ports:
- "127.0.0.1:17099:17099"
- "4156:4156"
2022-12-01 18:32:20 +01:00
environment:
- PBKEY=${PBKEY?err}
- NETLIMUP=10000
- NETLIMDOWN=18000