This commit is contained in:
Colin 2024-04-20 23:32:08 -04:00
parent 6204746462
commit d34ea96480
8 changed files with 59 additions and 53 deletions

View File

@ -1,7 +1,7 @@
version: "3.9" version: "3.9"
services: services:
uptime: pairdrop:
build: build:
context: docker/uptime context: docker/pairdrop
dockerfile: Dockerfile.production dockerfile: Dockerfile.production
image: git.nixc.us/nixius/uptime:production image: git.nixc.us/nixius/pairdrop:production

View File

@ -1,6 +1,6 @@
version: "3.9" version: "3.9"
services: services:
uptime: pairdrop:
build: build:
context: docker/uptime context: docker/pairdrop
image: git.nixc.us/nixius/uptime:staging image: git.nixc.us/nixius/pairdrop:staging

View File

@ -0,0 +1 @@
FROM lscr.io/linuxserver/pairdrop:latest

View File

@ -0,0 +1 @@
FROM git.nixc.us/nixius/pairdrop:staging

View File

@ -1 +0,0 @@
FROM louislam/uptime-kuma:latest

View File

@ -1 +0,0 @@
FROM git.nixc.us/nixius/uptime:staging

View File

@ -1,38 +1,38 @@
version: "3.7" version: "3.7"
services: services:
uptime: pairdrop:
image: git.nixc.us/nixius/uptime:production image: git.nixc.us/nixius/pairdrop:production
volumes: environment:
- "/root/tank/persist/nixc.us/uptime-kuma/production/data:/app/data" - PUID=1000 # UID to run the application as
# - "/var/run/docker.sock:/var/run/docker.sock:ro" - 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: deploy:
replicas: 1 replicas: 1
placement: # placement:
constraints: # constraints:
- node.hostname == ingress.nixc.us # - node.hostname == ingress.nixc.us
labels: labels:
homepage.group: Infrastructure homepage.group: apps
homepage.name: UptimeKuma homepage.name: pairdrop
homepage.href: https://uptime.nixc.us/status/internal-services homepage.href: https://pairdrop.nixc.us/
homepage.description: homepage.description:
us.nixc.autodeploy: "true" us.nixc.autodeploy: "true"
traefik.enable: "true" traefik.enable: "true"
traefik.http.routers.production_uptime-kuma_uptime.tls: "true" traefik.http.routers.production_pairdrop_pairdrop.tls: "true"
traefik.http.services.production_uptime-kuma_uptime.loadbalancer.server.port: 3001 traefik.http.services.production_pairdrop_pairdrop.loadbalancer.server.port: 3000
traefik.http.routers.production_uptime-kuma_uptime.rule: Host(`uptime.nixc.us`) traefik.http.routers.production_pairdrop_pairdrop.rule: Host(`pairdrop.nixc.us`)
traefik.http.routers.production_uptime-kuma_uptime.entrypoints: websecure traefik.http.routers.production_pairdrop_pairdrop.entrypoints: websecure
traefik.http.routers.production_uptime-kuma_uptime.tls.certresolver: letsencryptresolver traefik.http.routers.production_pairdrop_pairdrop.tls.certresolver: letsencryptresolver
traefik.http.routers.production_uptime-kuma_uptime.service: production_uptime-kuma_uptime traefik.http.routers.production_pairdrop_pairdrop.service: production_pairdrop_pairdrop
traefik.docker.network: traefik traefik.docker.network: traefik
# - 'traefik.http.routers.production_uptime-kuma_uptime.middlewares=authelia@docker' # - 'traefik.http.routers.production_uptime_uptime.middlewares=authelia@docker'
networks: networks:
- traefik - traefik
- socketproxy
dns:
- 8.8.8.8
- 4.4.4.4
networks: networks:
traefik: traefik:
external: true
socketproxy:
external: true external: true

View File

@ -1,31 +1,37 @@
version: "3.7" version: "3.7"
services: services:
uptime: pairdrop:
image: git.nixc.us/nixius/uptime:staging image: git.nixc.us/nixius/pairdrop:staging
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: deploy:
replicas: 1 replicas: 1
placement: # placement:
constraints: # constraints:
- node.hostname == ingress.nixc.us # - node.hostname == ingress.nixc.us
labels: labels:
- "us.nixc.autodeploy=true" homepage.group: apps
- "traefik.enable=true" homepage.name: pairdrop
- "traefik.http.routers.staging_uptime-kuma_uptime.tls=true" homepage.href: https://staging.pairdrop.nixc.us/
- "traefik.http.services.staging_uptime-kuma_uptime.loadbalancer.server.port=3001" homepage.description:
- "traefik.http.routers.staging_uptime-kuma_uptime.rule=Host(`staging.uptime.nixc.us`)" us.nixc.autodeploy: "true"
- "traefik.http.routers.staging_uptime-kuma_uptime.entrypoints=websecure" traefik.enable: "true"
- "traefik.http.routers.staging_uptime-kuma_uptime.tls.certresolver=letsencryptresolver" traefik.http.routers.staging_pairdrop_pairdrop.tls: "true"
- "traefik.http.routers.staging_uptime-kuma_uptime.service=staging_uptime-kuma_uptime" traefik.http.services.staging_pairdrop_pairdrop.loadbalancer.server.port: 3000
- "traefik.docker.network=traefik" traefik.http.routers.staging_pairdrop_pairdrop.rule: Host(`staging.pairdrop.nixc.us`)
# - 'traefik.http.routers.uptime-kuma_uptime.middlewares=authelia@docker' traefik.http.routers.staging_pairdrop_pairdrop.entrypoints: websecure
traefik.http.routers.staging_pairdrop_pairdrop.tls.certresolver: letsencryptresolver
traefik.http.routers.staging_pairdrop_pairdrop.service: staging_pairdrop_pairdrop
traefik.docker.network: traefik
# - 'traefik.http.routers.staging_uptime_uptime.middlewares=authelia@docker'
networks: networks:
- traefik - traefik
- socketproxy
dns:
- 8.8.8.8
- 4.4.4.4
networks: networks:
traefik: traefik:
external: true
socketproxy:
external: true external: true