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
|
||||
proxyconfig:
|
||||
binds:
|
||||
- localhost:__PORT__
|
||||
- 127.0.0.1:__PORT__
|
||||
reverseproxyurl: https://__DOMAIN__
|
||||
tlsconfig:
|
||||
selfsigned:
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
location / {
|
||||
proxy_pass https://localhost:__PORT__;
|
||||
proxy_pass https://127.0.0.1:__PORT__;
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
||||
location /ws/ {
|
||||
proxy_pass https://localhost:__PORT__;
|
||||
proxy_pass https://127.0.0.1:__PORT__;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
|
|
|
@ -12,7 +12,7 @@ WorkingDirectory=__INSTALL_DIR__/
|
|||
PermissionsStartOnly=true
|
||||
|
||||
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
|
||||
StandardOutput=journal
|
||||
StandardError=inherit
|
||||
|
@ -24,8 +24,8 @@ SuccessExitStatus=0
|
|||
|
||||
# Add environment variables
|
||||
Environment=CELLS_ENABLE_METRICS=false
|
||||
# Environment=CELLS_WORKING_DIR=__INSTALL_DIR__
|
||||
# Environment=CELLS_DATA_DIR=__DATA_DIR__
|
||||
Environment=CELLS_WORKING_DIR=__INSTALL_DIR__
|
||||
Environment=CELLS_DATA_DIR=__DATA_DIR__
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -71,6 +71,9 @@ ram.runtime = "50M"
|
|||
api.protected = true
|
||||
|
||||
[resources.ports]
|
||||
main.default = 8080
|
||||
discovery_grpc.default = 50051
|
||||
grpc.default = 50052
|
||||
|
||||
[resources.apt]
|
||||
packages = "mariadb-server"
|
||||
|
|
Loading…
Add table
Reference in a new issue