@@ -21,8 +21,8 @@ We highly recommend to use it **in all cases**, except for **Nextcloud AIO**, in
21
21
``` shell
22
22
docker run -e NC_HAPROXY_PASSWORD=" some_secure_password" \
23
23
-v /var/run/docker.sock:/var/run/docker.sock \
24
- --name aa-docker-socket-proxy -h aa-docker-socket-proxy \
25
- --restart unless-stopped --privileged -d ghcr.io/cloud-py-api/aa-docker-socket-proxy :release
24
+ --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp \
25
+ --restart unless-stopped --privileged -d ghcr.io/cloud-py-api/nextcloud-appapi-dsp :release
26
26
```
27
27
28
28
Instead of ` some_secure_password ` you put your password that later you should provide to AppAPI during Daemon creation.
@@ -36,8 +36,8 @@ docker run -e NC_HAPROXY_PASSWORD="some_secure_password" \
36
36
-e BIND_ADDRESS=" x.y.z.z"
37
37
-v /var/run/docker.sock:/var/run/docker.sock \
38
38
-v ` pwd` /certs/cert.pem:/certs/cert.pem \
39
- --name aa-docker-socket-proxy -h aa-docker-socket-proxy --net host \
40
- --restart unless-stopped --privileged -d ghcr.io/cloud-py-api/aa-docker-socket-proxy :release
39
+ --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp --net host \
40
+ --restart unless-stopped --privileged -d ghcr.io/cloud-py-api/nextcloud-appapi-dsp :release
41
41
```
42
42
43
43
Here in addition we map certificate file from host with SSL certificate that will be used by HaProxy and specify to use the ` host ` network.
@@ -69,27 +69,27 @@ You should set `BIND_ADDRESS` to the IP on which server with ExApps can accept r
69
69
To build image locally use:
70
70
71
71
``` shell
72
- docker build -f ./Dockerfile -t aa-docker-socket-proxy :latest ./
72
+ docker build -f ./Dockerfile -t nextcloud-appapi-dsp :latest ./
73
73
```
74
74
75
75
Deploy image(for ` nextcloud-docker-dev ` ):
76
76
77
77
``` shell
78
78
docker run -e NC_HAPROXY_PASSWORD=" some_secure_password" \
79
79
-v /var/run/docker.sock:/var/run/docker.sock \
80
- --name aa-docker-socket-proxy -h aa-docker-socket-proxy --net master_default \
81
- --privileged -d aa-docker-socket-proxy :latest
80
+ --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp --net master_default \
81
+ --privileged -d nextcloud-appapi-dsp :latest
82
82
```
83
83
84
84
After that create daemon in AppAPI from the Docker Socket Proxy template, specifying:
85
- 1 . Host: ` aa-docker-socket-proxy :2375`
85
+ 1 . Host: ` nextcloud-appapi-dsp :2375`
86
86
2 . Network in Deploy Config equal to ` master_default `
87
87
3 . Deploy Config: HaProxy password: ` some_secure_password `
88
88
89
89
### HTTPS(remote)
90
90
91
91
We will emulate remote deployment still with ` nextcloud-docker-dev ` setup.
92
- For this we deploy ` aa-docker-socket-proxy ` to host network and reach it using ` host.docker.internal ` .
92
+ For this we deploy ` nextcloud-appapi-dsp ` to host network and reach it using ` host.docker.internal ` .
93
93
94
94
> [ !NOTE]
95
95
> Due to current Docker limitations, this setup type is not working on macOS.
@@ -118,8 +118,8 @@ docker run -e NC_HAPROXY_PASSWORD="some_secure_password" \
118
118
-e BIND_ADDRESS=" 172.17.0.1" \
119
119
-v /var/run/docker.sock:/var/run/docker.sock \
120
120
-v ` pwd` /certs/cert.pem:/certs/cert.pem \
121
- --name aa-docker-socket-proxy -h aa-docker-socket-proxy --net host \
122
- --privileged -d aa-docker-socket-proxy :latest
121
+ --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp --net host \
122
+ --privileged -d nextcloud-appapi-dsp :latest
123
123
```
124
124
125
125
After that create daemon in AppAPI from the Docker Socket Proxy template, with next parameters:
0 commit comments