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 11# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
22# SPDX-License-Identifier: AGPL-3.0-or-later
33
4- FROM haproxy:2.9.11-alpine3.20
4+ FROM docker.io/library/ haproxy:2.9.11-alpine3.20
55
66USER root
77
Original file line number Diff line number Diff line change @@ -110,6 +110,14 @@ To build image locally use:
110110docker build -f ./Dockerfile -t nextcloud-appapi-dsp:latest ./
111111```
112112
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+
113121Deploy image(for ` nextcloud-docker-dev ` ):
114122
115123``` shell
@@ -160,6 +168,21 @@ docker run -e NC_HAPROXY_PASSWORD="some_secure_password" \
160168 --privileged -d nextcloud-appapi-dsp:latest
161169```
162170
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+
163186After that create daemon in AppAPI from the Docker Socket Proxy template, with next parameters:
1641871 . Host: ` host.docker.internal:2375 `
1651882 . Tick ` https ` checkbox.
You can’t perform that action at this time.
0 commit comments