From 6a8b8688540cc7eb5aa89a4ceed6bd25589dbf4c Mon Sep 17 00:00:00 2001 From: Blackstareye <> Date: Sat, 18 Jan 2025 18:15:14 +0100 Subject: [PATCH] fix for issue #21 and a docker_compose.yaml for testing --- Dockerfile | 4 ++-- docker-compose.yaml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 docker-compose.yaml diff --git a/Dockerfile b/Dockerfile index d4854a8..823c1dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,8 @@ RUN --mount=type=bind,source=.,target=/mnt \ cp -r /mnt/* /www/ && \ rm -rf /www/docker && \ touch /www/lib/config.local.php && \ - chown -R $(id -u lighttpd).$(id -g www-data) /www && \ + chown -R $(id -u lighttpd):$(id -g www-data) /www && \ chmod 770 /www CMD ["/run.sh"] -EXPOSE 80 \ No newline at end of file +EXPOSE 80 diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..6b9c57b --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,12 @@ +services: + web: + build: + context: . # or ../Dockerfile if we put it in the ./docker folder + volumes: + - ./jirafeau_data:/data + environment: + - ADMIN_PASSWORD='p4ssw0rd' + + ports: + - 8080:80 + -- 2.34.1