38 lines
1.6 KiB
YAML
38 lines
1.6 KiB
YAML
version: "3.7"
|
|
services:
|
|
pairdrop:
|
|
image: git.nixc.us/nixius/pairdrop:production
|
|
environment:
|
|
- PUID=1000 # UID to run the application as
|
|
- PGID=1000 # GID to run the application as
|
|
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
|
|
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
|
|
- RTC_CONFIG=false # Set to the path of a file that specifies the STUN/TURN servers.
|
|
- DEBUG_MODE=false # Set to true to debug container and peer connections.
|
|
- TZ=Etc/UTC # Time Zone
|
|
deploy:
|
|
replicas: 1
|
|
# placement:
|
|
# constraints:
|
|
# - node.hostname == ingress.nixc.us
|
|
labels:
|
|
homepage.group: apps
|
|
homepage.name: pairdrop
|
|
homepage.href: https://pairdrop.nixc.us/
|
|
homepage.description:
|
|
us.nixc.autodeploy: "true"
|
|
traefik.enable: "true"
|
|
traefik.http.routers.production_pairdrop_pairdrop.tls: "true"
|
|
traefik.http.services.production_pairdrop_pairdrop.loadbalancer.server.port: 3000
|
|
traefik.http.routers.production_pairdrop_pairdrop.rule: Host(`pairdrop.nixc.us`)
|
|
traefik.http.routers.production_pairdrop_pairdrop.entrypoints: websecure
|
|
traefik.http.routers.production_pairdrop_pairdrop.tls.certresolver: letsencryptresolver
|
|
traefik.http.routers.production_pairdrop_pairdrop.service: production_pairdrop_pairdrop
|
|
traefik.docker.network: traefik
|
|
# - 'traefik.http.routers.production_uptime_uptime.middlewares=authelia@docker'
|
|
networks:
|
|
- traefik
|
|
|
|
networks:
|
|
traefik:
|
|
external: true |