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