services: parser: build: ./ volumes: - shared-data:/data command: ["./parse-xml.sh"] # Writes output to /data/clean_CANADA_USA.xml web: image: ./targo_lighttpd ports: - "8080:80" volumes: - shared-data:/var/www/html # Lighttpd serves /var/www/html volumes: shared-data: