mirror of
https://github.com/Tha14/uam-docker.git
synced 2024-11-24 22:23:02 +01:00
24 lines
536 B
YAML
24 lines
536 B
YAML
version: '2.4'
|
|
|
|
services:
|
|
uam:
|
|
image: debian:bullseye-slim
|
|
container_name: uam
|
|
hostname: uam
|
|
restart: unless-stopped
|
|
stop_grace_period: 5s
|
|
ulimits:
|
|
rtprio: 95
|
|
memlock: -1
|
|
oom_score_adj: -700
|
|
mem_swappiness: 10
|
|
volumes:
|
|
- "./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=$PBKEY
|