services: werc: build: network: host dockerfile: Dockerfile context: . container_name: werc ports: - 3080:80 environment: - HOSTNAME=thirdculture.top volumes: - werc:/var/www/werc - lighttpd:/etc/lighttpd - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro tty: true networks: - default-werc networks: default-werc: driver: bridge volumes: werc: driver: local driver_opts: o: bind type: none device: "./werc" lighttpd: driver: local driver_opts: o: bind type: none device: "./etc/lighttpd"