Compare commits
1 Commits
feature/di
...
feature/di
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f82768adc |
7
dist/convertx/.env.example
vendored
Normal file
7
dist/convertx/.env.example
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
SERVICE_DOMAIN=convertx.example.com
|
||||
|
||||
HTTP_ALLOWED=false
|
||||
ALLOW_UNAUTHENTICATED=true
|
||||
LANGUAGE=en
|
||||
AUTO_DELETE_EVERY_N_HOURS=12
|
||||
JWT_SECRET=changeme
|
||||
23
dist/convertx/compose.yaml
vendored
Normal file
23
dist/convertx/compose.yaml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
networks:
|
||||
traefik-network:
|
||||
external: true
|
||||
services:
|
||||
convertx:
|
||||
container_name: convertx
|
||||
image: ghcr.io/c4illin/convertx
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- HTTP_ALLOWED=${HTTP_ALLOWED}
|
||||
- ALLOW_UNAUTHENTICATED=${ALLOW_UNAUTHENTICATED}
|
||||
- LANGUAGE=${LANGUAGE}
|
||||
- AUTO_DELETE_EVERY_N_HOURS=${AUTO_DELETE_EVERY_N_HOURS}
|
||||
- JWT_SECRET=${JWT_SECRET}
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.convertx.rule=Host(`${SERVICE_DOMAIN}`)"
|
||||
- "traefik.http.routers.convertx.entrypoints=https"
|
||||
- "traefik.http.routers.convertx.tls.certresolver=letsencrypt"
|
||||
networks:
|
||||
- traefik-network
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
5
dist/wg-easy/.env.template
vendored
5
dist/wg-easy/.env.template
vendored
@@ -1,5 +0,0 @@
|
||||
BASE_DOMAIN=example.com
|
||||
SERVICE_DOMAIN=wg-easy.example.com
|
||||
|
||||
WG_NETWORK_SUBNET=10.42.42.0/24
|
||||
WG_NETWORK_ADDRESS=10.42.42.42
|
||||
41
dist/wg-easy/compose.yaml
vendored
41
dist/wg-easy/compose.yaml
vendored
@@ -1,41 +0,0 @@
|
||||
services:
|
||||
wg-easy:
|
||||
|
||||
image: ghcr.io/wg-easy/wg-easy:15
|
||||
container_name: wg-easy
|
||||
networks:
|
||||
traefik-network: {}
|
||||
wg:
|
||||
ipv4_address: ${WG_NETWORK_ADDRESS}
|
||||
volumes:
|
||||
- ./etc_wireguard:/etc/wireguard
|
||||
- /lib/modules:/lib/modules:ro
|
||||
environment:
|
||||
- WG_HOST=${SERVICE_DOMAIN}
|
||||
ports:
|
||||
- "51820:51820/udp"
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
sysctls:
|
||||
- net.ipv4.ip_forward=1
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.wg-easy.rule=Host(`${SERVICE_DOMAIN}`)"
|
||||
- "traefik.http.routers.wg-easy.entrypoints=https"
|
||||
- "traefik.http.routers.wg-easy.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.routers.wg-easy-service.service=wg-easy"
|
||||
- "traefik.http.services.wg-easy-service.loadbalancer.server.port=51821"
|
||||
|
||||
networks:
|
||||
traefik-network:
|
||||
external: true
|
||||
wg:
|
||||
driver: bridge
|
||||
enable_ipv6: false
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: ${WG_NETWORK_SUBNET}
|
||||
Reference in New Issue
Block a user