docker-scripts/linux/ecosystem/apache2/php7.4/README.md

33 lines
603 B
Markdown
Raw Normal View History

2019-02-11 18:47:45 +03:00
# Compose example
```yml
version: '3.7'
services:
websites:
image: epicmorg/websites
# depends_on:
# - mysql
# - memcached
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
# - /etc/letsencrypt:/etc/letsencrypt
- www:/var/www
- apache2:/etc/apache2
- php:/etc/php
restart: unless-stopped
# extra_hosts:
# - "example.com:192.168.0.11"
tmpfs:
- /tmp
- /var/lib/php/sessions
volumes:
www:
external: true
apache2:
external: true
php:
external: true
```