2022-12-23 20:29:05 +01:00
|
|
|
version: '2.4'
|
2022-12-01 18:32:20 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
uam:
|
|
|
|
image: debian:bullseye-slim
|
|
|
|
container_name: uam
|
2022-12-13 18:23:16 +01:00
|
|
|
hostname: uam
|
2022-12-01 18:32:20 +01:00
|
|
|
restart: unless-stopped
|
2022-12-13 18:23:16 +01:00
|
|
|
stop_grace_period: 5s
|
2022-12-01 18:32:20 +01:00
|
|
|
ulimits:
|
|
|
|
rtprio: 95
|
|
|
|
memlock: -1
|
2022-12-23 20:29:05 +01:00
|
|
|
oom_score_adj: -700
|
|
|
|
mem_swappiness: 10
|
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"
|
2022-12-01 18:32:20 +01:00
|
|
|
command: /bin/sh -c "chmod +x /opt/entrypoint.sh && /opt/entrypoint.sh $${PBKEY}"
|
2022-12-13 18:23:16 +01:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:17099:17099"
|
|
|
|
- "4156:4156"
|
2022-12-01 18:32:20 +01:00
|
|
|
environment:
|
2022-12-26 22:48:35 +01:00
|
|
|
- PBKEY=$PBKEY
|