version: "3" services: rpxy-rp: image: jqtype/rpxy:latest # ghcr.io/junkurihara/rust-rpxy:latest also works container_name: rpxy init: true restart: unless-stopped ports: - 127.0.0.1:8080:8080/tcp - 127.0.0.1:8443:8443/udp - 127.0.0.1:8443:8443/tcp # build: # Uncomment if you build yourself # context: ../ # args: # Uncomment when build quic-s2n version # - "CARGO_FEATURES=--no-default-features --features http3-s2n" # - "ADDITIONAL_DEPS=pkg-config libssl-dev cmake libclang1 gcc g++" # dockerfile: ./docker/Dockerfile # based on ubuntu 22.04 and build x86_64-unknown-linux-gnu # platforms: # Choose your platforms # - "linux/amd64" # # - "linux/arm64" environment: - LOG_LEVEL=debug - LOG_TO_FILE=true - HOST_USER=jun - HOST_UID=501 - HOST_GID=501 # - WATCH=true tty: false privileged: true volumes: - ./log:/rpxy/log:rw - ./cache:/rpxy/cache:rw - ../example-certs/server.crt:/certs/server.crt:ro - ../example-certs/server.key:/certs/server.key:ro - ../config-example.toml:/etc/rpxy.toml:ro # NOTE: To correctly enable "watch" in docker, # ** you should mount not a file but a dir mapped to /rpxy/config including "rpxy.toml" due to the limitation of docker ** # e.g, - ./rpxy-config:/rpxy/config