This repository was archived by the owner on Dec 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ SSH_USERS = data:1000:1000
2+ RSYNC_MODE = true
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ entryPoints:
88 address : " :80"
99 web-secure :
1010 address : " :443"
11+ client-upload :
12+ address : " :8022"
1113
1214# Listen for changes on docker and the dynamic configuration file
1315providers :
Original file line number Diff line number Diff line change @@ -428,6 +428,30 @@ services:
428428 - " traefik.http.routers.faf-user-service.tls.certresolver=default"
429429 - " traefik.http.services.faf-user-service.loadbalancer.server.port=8080"
430430
431+ #
432+ # An SCP server that allows uploading client update files via rsync. Example command:
433+ #
434+ # rsync -avz -e "ssh -p 8022" /build/client/ data@client-upload.faforever.com:client
435+ #
436+ faf-client-upload :
437+ container_name : faf-client-upload
438+ image : panubo/sshd@sha256:4be2259311faba55fe9aa5bcac7ae5a3766c8dc64c71af45c0c002d48743e7d9
439+ networks :
440+ faf :
441+ aliases :
442+ - " faf-client-upload"
443+ restart : unless-stopped
444+ volumes :
445+ - ./data/content/client:/home/data/client
446+ - ./config/faf-client-upload/authorized_keys:/etc/authorized_keys/data:ro
447+ env_file : ./config/faf-client-upload/faf-client-upload.env
448+ labels :
449+ - " traefik.enable=true"
450+ - " traefik.tcp.routers.faf-client-upload.rule=HostSNI(`*`)"
451+ - " traefik.tcp.routers.faf-client-upload.entryPoints=client-upload"
452+ - " traefik.tcp.routers.faf-client-upload.service=faf-client-upload"
453+ - " traefik.tcp.services.faf-client-upload.loadbalancer.server.port=22"
454+
431455networks :
432456 faf :
433457 driver : bridge
You can’t perform that action at this time.
0 commit comments