59 lines
884 B
YAML
59 lines
884 B
YAML
name: thlab-proxy
|
|
|
|
########## ===== NETWORKS ===== ##########
|
|
|
|
networks:
|
|
|
|
edge_proxy:
|
|
external: true
|
|
|
|
thlab_proxy:
|
|
name: thlab_proxy
|
|
|
|
thlab_auth:
|
|
name: thlab_auth
|
|
|
|
########## ===== VOLUMES ===== ##########
|
|
|
|
volumes:
|
|
|
|
npm_data:
|
|
name: thlab_npm_data
|
|
driver: local
|
|
|
|
npm_letsencrypt:
|
|
name: thlab_npm_letsencrypt
|
|
driver: local
|
|
|
|
npm_app:
|
|
name: thlab_npm_app
|
|
driver: local
|
|
|
|
########## ===== SERVICES ===== ##########
|
|
|
|
services:
|
|
|
|
##### PROXY
|
|
thlab-nginx:
|
|
|
|
image: jc21/nginx-proxy-manager:latest
|
|
container_name: thlab-nginx
|
|
|
|
restart: unless-stopped
|
|
|
|
env_file: [.secrets/.env]
|
|
environment:
|
|
DISABLE_IPV6: "true"
|
|
|
|
volumes:
|
|
- npm_data:/data
|
|
- npm_letsencrypt:/etc/letsencrypt
|
|
- npm_app:/app
|
|
|
|
networks:
|
|
thlab_proxy:
|
|
thlab_auth:
|
|
edge_proxy:
|
|
ipv4_address: 10.60.0.10
|
|
|