File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ services:
111
111
# mount certificate files to container if HTTPS is set with cert/key paths
112
112
#- /path/to/cert.pem:/cert.pem
113
113
#- /path/to/cert.key:/cert.key
114
+ # mount your custom CA to container if host certificates are issued by it and you want XO to trust it
115
+ #- /path/to/ca.pem:/host-ca.pem
114
116
# logging
115
117
logging: &default_logging
116
118
driver: "json-file"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set httpd port 2812 and
4
4
5
5
check process xo-server with pidfile /var/run/xo-server.pid
6
6
depends on redis
7
- start program = "/usr/local/bin/forever start -a --pidFile /var/run/xo-server.pid --sourceDir /etc/xen-orchestra/packages/xo-server -l /var/log/xo-server.log dist/cli.mjs"
7
+ start program = "/usr/bin/env NODE_EXTRA_CA_CERTS=/host-ca.pem /usr/ local/bin/forever start -a --pidFile /var/run/xo-server.pid --sourceDir /etc/xen-orchestra/packages/xo-server -l /var/log/xo-server.log dist/cli.mjs"
8
8
stop program = "/usr/local/bin/forever stop /etc/xen-orchestra/packages/xo-server/dist/cli.mjs"
9
9
10
10
check process redis with pidfile /var/run/redis.pid
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ services:
30
30
# mount certificate files to container if HTTPS is set with cert/key paths
31
31
# - /path/to/cert.pem:/cert.pem
32
32
# - /path/to/cert.key:/cert.key
33
+ # mount your custom CA to container if host certificates are issued by it and you want XO to trust it
34
+ # - /path/to/ca.pem:/host-ca.pem
33
35
# logging
34
36
logging : &default_logging
35
37
driver : " json-file"
You can’t perform that action at this time.
0 commit comments