services:
- webserver:
- container_name: fluidbook-$hosting-server-$sid
- image: $image
- volumes:
- - '$path:$dockerpath'
- - './config/httpd.conf:/etc/apache2/conf-enabled/99-config.conf'
- environment:
- VIRTUAL_HOST: $domains
- LETSENCRYPT_HOST: $domains
- networks:
- - fluidbook-$hosting
- - nginxproxy
- restart: unless-stopped
+ webserver:
+ container_name: fluidbook-$hosting-server-$sid
+ image: $image
+ volumes:
+ - '$path:$dockerpath'
+ - './config/httpd.conf:/etc/apache2/conf-enabled/99-config.conf'
+ environment:
+ VIRTUAL_HOST: $domains
+ LETSENCRYPT_HOST: $domains
+ networks:
+ - fluidbook-$hosting
+ - nginxproxy
+ restart: unless-stopped
+ logging:
+ options:
+ max-size: "10m"
+ max-file: "3"
networks:
fluidbook-$hosting: