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.
This commit is contained in:
parent
6af77289e5
commit
feb262e0ff
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
@ -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:
|
Loading…
Reference in New Issue
Block a user