mirror of
https://github.com/YunoHost-Apps/pydio_ynh.git
synced 2024-09-03 20:16:05 +02:00
fix
This commit is contained in:
parent
dc38caa995
commit
4129b1c33b
4 changed files with 9 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Basic no-TLS config for the embedded gateway
|
# Basic no-TLS config for the embedded gateway
|
||||||
proxyconfig:
|
proxyconfig:
|
||||||
binds:
|
binds:
|
||||||
- localhost:__PORT__
|
- 127.0.0.1:__PORT__
|
||||||
reverseproxyurl: https://__DOMAIN__
|
reverseproxyurl: https://__DOMAIN__
|
||||||
tlsconfig:
|
tlsconfig:
|
||||||
selfsigned:
|
selfsigned:
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
location / {
|
location / {
|
||||||
proxy_pass https://localhost:__PORT__;
|
proxy_pass https://127.0.0.1:__PORT__;
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass https://localhost:__PORT__;
|
proxy_pass https://127.0.0.1:__PORT__;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
|
|
|
@ -12,7 +12,7 @@ WorkingDirectory=__INSTALL_DIR__/
|
||||||
PermissionsStartOnly=true
|
PermissionsStartOnly=true
|
||||||
|
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
ExecStart=__INSTALL_DIR__/cells start
|
ExecStart=__INSTALL_DIR__/cells start --grpc_discovery_port __PORT_DISCOVERY_GRPC__ --grpc_port __PORT_GRPC__
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
|
@ -24,8 +24,8 @@ SuccessExitStatus=0
|
||||||
|
|
||||||
# Add environment variables
|
# Add environment variables
|
||||||
Environment=CELLS_ENABLE_METRICS=false
|
Environment=CELLS_ENABLE_METRICS=false
|
||||||
# Environment=CELLS_WORKING_DIR=__INSTALL_DIR__
|
Environment=CELLS_WORKING_DIR=__INSTALL_DIR__
|
||||||
# Environment=CELLS_DATA_DIR=__DATA_DIR__
|
Environment=CELLS_DATA_DIR=__DATA_DIR__
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -71,6 +71,9 @@ ram.runtime = "50M"
|
||||||
api.protected = true
|
api.protected = true
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
|
main.default = 8080
|
||||||
|
discovery_grpc.default = 50051
|
||||||
|
grpc.default = 50052
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "mariadb-server"
|
packages = "mariadb-server"
|
||||||
|
|
Loading…
Add table
Reference in a new issue