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.
17 lines
328 B
YAML
17 lines
328 B
YAML
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:
|