81 lines
2.0 KiB
YAML
81 lines
2.0 KiB
YAML
services:
|
|
ct-vpn:
|
|
image: qmcgaw/gluetun
|
|
container_name: ct-vpn
|
|
cap_add:
|
|
- NET_ADMIN
|
|
devices:
|
|
- /dev/net/tun:/dev/net/tun
|
|
ports:
|
|
- 3000:3000
|
|
- 10412:10412
|
|
- 127.0.0.1:8000:8000/tcp # Control server
|
|
volumes:
|
|
- ./vpn:/gluetun
|
|
environment:
|
|
# See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
|
|
- VPN_SERVICE_PROVIDER=protonvpn
|
|
# - VPN_TYPE=wireguard
|
|
# OpenVPN:
|
|
# - OPENVPN_USER=...
|
|
# - OPENVPN_PASSWORD=...
|
|
# Wireguard:
|
|
# - WIREGUARD_PRIVATE_KEY=...
|
|
# - WIREGUARD_ADDRESSES=...
|
|
# Timezone for accurate log times
|
|
# - TZ=America/Chicago
|
|
# Server list updater
|
|
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
|
|
- UPDATER_PERIOD=
|
|
- SERVER_COUNTRIES=Netherlands
|
|
- VPN_PORT_FORWARDING=on
|
|
restart: "unless-stopped"
|
|
eirtube:
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile-eirtube-nvidia
|
|
container_name: eirtube
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/Chicago
|
|
volumes:
|
|
- ./eirtube:/live/eirtube
|
|
#ports:
|
|
#- 10412:10412
|
|
restart: "unless-stopped"
|
|
network_mode: service:ct-vpn
|
|
depends_on:
|
|
- ct-vpn
|
|
#healthcheck:
|
|
#test: curl -f http://localhost:9092 || exit 1
|
|
#interval: 5m00s
|
|
#timeout: 10s
|
|
#retries: 2
|
|
runtime: nvidia
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
newleaf:
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile-newleaf
|
|
container_name: newleaf
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
# - TZ=America/Chicago
|
|
volumes:
|
|
- ./phantomjs:/live/phantomjs
|
|
- ./newleaf:/live/newleaf
|
|
#ports:
|
|
#- 3000:3000
|
|
restart: "unless-stopped"
|
|
network_mode: service:ct-vpn
|
|
depends_on:
|
|
- ct-vpn
|