From 39c907c5e81a82f601a3722fa680140a2acf0af1 Mon Sep 17 00:00:00 2001 From: thtxt <75760340+ThoriumTextile@users.noreply.github.com> Date: Fri, 20 Jun 2025 09:53:09 +0200 Subject: [PATCH] Create draft docker-compose.yml --- docker-compose.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..48a8c0748 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,28 @@ +services: + ferron: + image: ferronserver/ferron:2 + container_name: myferron + restart: always + ports: + - "80:80" + # network_mode: host #Optionally uncomment this if you are running already in a container like LXC + volumes: + # Configuration bind mount (host file → container) + - "./config/ferron.yaml:/etc/ferron.yaml" + + # Persistent web root volume + - "ferron_web:/var/www/ferron" + + # Log directory bind mount (host dir → container) + - "./logs:/var/log/ferron" + + # Persistent storage for user management data (if used) + - "ferron_data:/var/lib/ferron" + +volumes: + ferron_web: + ferron_data: + +#Uncomment the following while runnning in bridge mode to add the ferron-proxy network (or any of your liking) +#networks: + #ferron-proxy: