]> git.p6c8.net - jirafeau_project.git/commitdiff
fix for issue #21 and a docker_compose.yaml for testing hotfix_issue_21 20/head
authorBlackstareye <>
Sat, 18 Jan 2025 17:15:14 +0000 (18:15 +0100)
committerBlackstareye <gitlab@blackeyeprojects.de>
Wed, 19 Feb 2025 13:38:47 +0000 (14:38 +0100)
Dockerfile
docker-compose.yaml [new file with mode: 0644]

index d4854a8fcbdf4e01f330a041f1f4577d0feb83e9..823c1dd37c4d8a7f2ea60e4b0905225751af4d15 100644 (file)
@@ -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 (file)
index 0000000..6b9c57b
--- /dev/null
@@ -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
+

patrick-canterino.de