From feb262e0ff3a7ef3ac663b61a9b3e16d12274fbc Mon Sep 17 00:00:00 2001 From: Nicolas Date: Wed, 11 Jun 2025 16:47:01 -0400 Subject: [PATCH] Add composer yaml Attempting to set up with composer instead of building cleaner off of lighttpd image which is built off of debian. Also actually added cron job to cleaner Dockerfile. --- docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d0ccb36 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +services: + parser: + build: ./ + volumes: + - shared-data:/data + command: ["./parse-xml.sh"] # Writes output to /data/output.xml + + web: + image: ./targo_lighttpd + ports: + - "8080:80" + volumes: + - shared-data:/var/www/html # Lighttpd serves /var/www/html + +volumes: + shared-data: