File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
2
2
# SPDX-License-Identifier: AGPL-3.0-or-later
3
3
4
- FROM haproxy:2.9.11-alpine3.20
4
+ FROM docker.io/library/ haproxy:2.9.11-alpine3.20
5
5
6
6
USER root
7
7
Original file line number Diff line number Diff line change @@ -110,6 +110,14 @@ To build image locally use:
110
110
docker build -f ./Dockerfile -t nextcloud-appapi-dsp:latest ./
111
111
```
112
112
113
+ <details >
114
+ <summary >Podman</summary >
115
+
116
+ ``` bash
117
+ podman build --format=docker -f ./Dockerfile -t nextcloud-appapi-dsp:latest ./
118
+ ```
119
+ </details >
120
+
113
121
Deploy image(for ` nextcloud-docker-dev ` ):
114
122
115
123
``` shell
@@ -160,6 +168,21 @@ docker run -e NC_HAPROXY_PASSWORD="some_secure_password" \
160
168
--privileged -d nextcloud-appapi-dsp:latest
161
169
```
162
170
171
+ <details >
172
+ <summary >Podman rootless</summary >
173
+
174
+ You can use this when Nextcloud is installed in Docker(for example), and the DSP will run on the host network on Podman.
175
+
176
+ ``` bash
177
+ podman run -e NC_HAPROXY_PASSWORD=" some_secure_password" \
178
+ -e BIND_ADDRESS=" 172.17.0.1" \
179
+ -v /run/user/1000/podman/podman.sock:/var/run/docker.sock \
180
+ -v ` pwd` /certs/cert.pem:/certs/cert.pem \
181
+ --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp --net host \
182
+ --privileged -d nextcloud-appapi-dsp:latest
183
+ ```
184
+ </details >
185
+
163
186
After that create daemon in AppAPI from the Docker Socket Proxy template, with next parameters:
164
187
1 . Host: ` host.docker.internal:2375 `
165
188
2 . Tick ` https ` checkbox.
You can’t perform that action at this time.
0 commit comments