Skip to content

Commit 429a61c

Browse files
committed
Update the actual Dockerfile and compose.yaml files, not only README
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
1 parent 205299d commit 429a61c

2 files changed

Lines changed: 19 additions & 10 deletions

File tree

.examples/appapi/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
FROM nextcloud:stable-fpm
2-
RUN apt-get update && apt-get install -y ffmpeg python3.13-venv nano pipx
2+
3+
RUN apt-get update && apt-get install -y python3.13-venv pipx
4+
35
ADD ./poetry.sh /tmp/poetry.sh
6+
47
USER www-data
58
RUN pipx ensurepath
69
RUN python3 /tmp/poetry.sh
7-
USER root
10+
11+
USER root

.examples/appapi/compose.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ services:
6363

6464
appapi:
6565
platform: linux/amd64
66-
container-name: appapi
66+
container_name: appapi
6767
hostname: appapi
6868
privileged: true
6969
image: ghcr.io/nextcloud/nextcloud-appapi-harp:release
@@ -73,12 +73,16 @@ services:
7373
restart: unless-stopped
7474
depends_on:
7575
- app
76-
#env_file:
77-
# - appapi.env
76+
# env_file:
77+
# - appapi.env
7878
environment:
79-
- NC_HAPROXY_PASSWORD=CHANGEME # this needs to be at least 12 chars long. This exists for backward compatibility with the DSP image, it might be removed in the future from this example.
80-
- HP_SHARED_KEY="CHANGEME" # this needs to be at least 12 chars long
81-
- NC_INSTANCE_URL="https://external-nextcloud.url"
79+
# NC_HAPROXY_PASSWORD needs to be at least 12 chars long. This variable exists for backward compatibility with the DSP image
80+
# ToDo: verify whether this variable is still required
81+
- NC_HAPROXY_PASSWORD=CHANGEME1234
82+
# HP_SHARED_KEY needs to be at least 12 chars long.
83+
- HP_SHARED_KEY=CHANGEME1234
84+
# NC_INSTANCE_URL must be the externally accessible URL of the Nextcloud instance
85+
- NC_INSTANCE_URL=https://external-nextcloud.url
8286
volumes:
8387
- /var/run/docker.sock:/var/run/docker.sock
8488

@@ -87,8 +91,9 @@ volumes:
8791
nextcloud:
8892

8993
networks:
90-
proxy: # This is external network, created for nginx-proxy-manager used by this setup.
94+
proxy: # This is an external network created for nginx-proxy-manager used by this setup. It must be edited to match your environment.
9195
name: proxy-manager_proxy_network
9296
external: true
93-
appapi: # this is required in order for appapi to work
97+
98+
appapi: # This network is required in order for AppAPI to function correctly. Using "host" networking as in some examples may fail.
9499
name: appapi_network

0 commit comments

Comments
 (0)