mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-22 15:33:46 +00:00
changes to caddy
This commit is contained in:
parent
f67d9259ee
commit
765ec54ef6
@ -1,17 +1,43 @@
|
||||
# http://loki {
|
||||
# root * /usr/share/caddy
|
||||
# file_server browse
|
||||
# }
|
||||
|
||||
# http://loki/config {
|
||||
# reverse_proxy /config/* foxglove:8080
|
||||
# }
|
||||
|
||||
# http://browse.loki {
|
||||
# root * /usr/share/caddy
|
||||
# file_server browse
|
||||
# }
|
||||
|
||||
# http://config.loki {
|
||||
# reverse_proxy localhost:1337
|
||||
# }
|
||||
|
||||
# http://control.loki {
|
||||
# reverse_proxy foxglove:8080
|
||||
# }
|
||||
|
||||
http://loki {
|
||||
root * /usr/share/caddy
|
||||
file_server browse
|
||||
|
||||
handle_path /config* {
|
||||
#rewrite * /
|
||||
reverse_proxy olivetin:1337
|
||||
}
|
||||
|
||||
handle_path /viz* {
|
||||
#rewrite * /
|
||||
reverse_proxy foxglove:8080
|
||||
}
|
||||
}
|
||||
|
||||
http://browse.loki {
|
||||
root * /usr/share/caddy
|
||||
file_server browse
|
||||
}
|
||||
|
||||
http://config.loki {
|
||||
reverse_proxy olivetin:1337
|
||||
}
|
||||
|
||||
http://control.loki {
|
||||
reverse_proxy foxglove:8080
|
||||
}
|
||||
# http://loki/config {
|
||||
# handle_path /config* {
|
||||
# rewrite * /
|
||||
# reverse_proxy olivetin:1337
|
||||
# }
|
||||
# }
|
||||
|
Binary file not shown.
@ -56,4 +56,3 @@ listen [::]:80;
|
||||
# Custom
|
||||
include /data/nginx/custom/server_proxy[.]conf;
|
||||
}
|
||||
|
||||
|
@ -162,6 +162,8 @@ services:
|
||||
|
||||
# - /var/lib/docker:/var/lib/docker
|
||||
- ~/.ssh/id_rsa:/root/.ssh/id_rsa
|
||||
networks:
|
||||
- caddy_network
|
||||
ports:
|
||||
- "1337:1337"
|
||||
restart: unless-stopped
|
||||
@ -225,6 +227,8 @@ services:
|
||||
image: ghcr.io/foxglove/studio:latest
|
||||
depends_on:
|
||||
- foxglove_bridge
|
||||
networks:
|
||||
- caddy_network
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
@ -245,27 +249,31 @@ services:
|
||||
# Core Services for Web Management #
|
||||
################################################################################################################################
|
||||
|
||||
# npm: # nginx proxy manager for reverse proxying the webservices
|
||||
# #user "bjoern.ellensohn@unileoben.ac.at"
|
||||
# #password "cpsloki_npm"
|
||||
# image: 'jc21/nginx-proxy-manager:latest'
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - '80:80'
|
||||
# - '81:81'
|
||||
# - '443:443'
|
||||
# extra_hosts:
|
||||
# - "host.docker.internal:host-gateway"
|
||||
# #network_mode: host
|
||||
# volumes:
|
||||
# - ./config/npm:/data
|
||||
# - ./config/npm/letsencrypt:/etc/letsencrypt
|
||||
# depends_on:
|
||||
# - foxglove
|
||||
# - olivetin
|
||||
npm: # nginx proxy manager for reverse proxying the webservices
|
||||
#user "bjoern.ellensohn@unileoben.ac.at" cpsAdmin@unileoben.ac.at
|
||||
#password "cpsloki_npm"
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- caddy_network
|
||||
ports:
|
||||
- '80:80'
|
||||
- '81:81'
|
||||
- '443:443'
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
#network_mode: host
|
||||
volumes:
|
||||
- npm-data:/data
|
||||
- npm-letsencrypt:/etc/letsencrypt
|
||||
depends_on:
|
||||
- foxglove
|
||||
- olivetin
|
||||
|
||||
caddy:
|
||||
image: caddy:latest
|
||||
networks:
|
||||
- caddy_network
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
@ -280,6 +288,10 @@ services:
|
||||
################################################################################################################################
|
||||
# Docker related extra stuff #
|
||||
################################################################################################################################
|
||||
networks: {}
|
||||
networks:
|
||||
caddy_network:
|
||||
driver: bridge
|
||||
volumes:
|
||||
portainer_data:
|
||||
portainer_data:
|
||||
npm-data:
|
||||
npm-letsencrypt:
|
Loading…
Reference in New Issue
Block a user