docker-compose.yml (568B)
1 services: 2 udphole: 3 build: 4 context: . 5 platforms: 6 - linux/amd64 7 - linux/arm64/v8 8 - linux/riscv64 9 ports: 10 - "${API_PORT:-6379}:${API_PORT:-6379}" 11 - "7000-7999:7000-7999/udp" 12 # volumes: 13 # - ./udphole.conf:/etc/udphole.conf:ro 14 environment: 15 - API_PORT=6379 16 - UDP_PORTS=7000-7999 17 - LOG_LEVEL=info 18 - API_ADMIN_USER=admin 19 - API_ADMIN_PASS=supers3cret 20 healthcheck: 21 test: ["CMD", "nc", "-z", "localhost", "6379"] 22 interval: 10s 23 timeout: 5s 24 retries: 3