mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 10:22:19 +00:00
Listen by default on 0.0.0.0
This commit is contained in:
parent
c80885a2ef
commit
b4ce28634d
@ -9,7 +9,6 @@ services:
|
||||
ports:
|
||||
- 443:443
|
||||
- 80:80
|
||||
- 1935:1935
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./traefik_data:/data
|
||||
@ -21,8 +20,14 @@ services:
|
||||
- "--entrypoints.web.address=:80"
|
||||
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
|
||||
- "--entrypoints.websecure.address=:443"
|
||||
- "--entrypoints.rtmpsecure.address=:1935"
|
||||
# Define certificates
|
||||
- "--certificatesResolvers.mytlschallenge.acme.email=root@example.com"
|
||||
- "--certificatesResolvers.mytlschallenge.acme.storage=/data/acme.json"
|
||||
- "--certificatesResolvers.mytlschallenge.acme.httpChallenge.entryPoint=web"
|
||||
|
||||
ghostream:
|
||||
build: ..
|
||||
restart: always
|
||||
ports:
|
||||
- 2112:2112
|
||||
- 9710:9710
|
||||
|
2
main.go
2
main.go
@ -47,7 +47,7 @@ func loadConfiguration() {
|
||||
viper.SetDefault("Auth.LDAP.UserDn", "cn=users,dc=example,dc=com")
|
||||
viper.SetDefault("Monitoring.ListenAddress", ":2112")
|
||||
viper.SetDefault("Srt.ListenAddress", ":9710")
|
||||
viper.SetDefault("Web.ListenAddress", "127.0.0.1:8080")
|
||||
viper.SetDefault("Web.ListenAddress", ":8080")
|
||||
viper.SetDefault("Web.Name", "Ghostream")
|
||||
viper.SetDefault("Web.Hostname", "localhost")
|
||||
viper.SetDefault("Web.Favicon", "/favicon.ico")
|
||||
|
Loading…
Reference in New Issue
Block a user