From 5caa4a16518789f4ffa127f92dac88ea65b74c73 Mon Sep 17 00:00:00 2001 From: filesite Date: Thu, 9 Jan 2025 07:01:07 +0800 Subject: [PATCH] add docker compose yaml file --- compose.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 compose.yaml diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..49b0ae2 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,18 @@ +# github: https://github.com/filesite-io/machete +name: filesite_machete +services: + web: + build: . + # upgrade to latest version + command: /var/www/machete/bin/upgrade.sh + ports: + - "1080:80" + image: "filesite/machete:latest" + container_name: filesite_machete + volumes: + # Cache files will save into ./runtime + - "${PWD}/runtime:/var/www/machete/runtime" + # + # **[IMPORTANT]** + # Change this path (${PWD}/wwww/girls) to your photos' directory + - "${PWD}/www/girls:/var/www/machete/www/girls/" \ No newline at end of file