37 lines
717 B
YAML
37 lines
717 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
app-fpm:
|
|
build: .
|
|
volumes:
|
|
- webroot:/var/www/html
|
|
#- drupal-modules:/var/www/html/modules
|
|
#- drupal-profiles:/var/www/html/profiles
|
|
#- drupal-sites:/var/www/html/sites
|
|
#- drupal-themes:/var/www/html/themes
|
|
tty: true
|
|
nginx:
|
|
image: nginx:latest
|
|
volumes:
|
|
- webroot:/var/www/html
|
|
- ./conf.d:/etc/nginx/conf.d
|
|
ports:
|
|
- 8000:80
|
|
db:
|
|
image: postgres:10
|
|
env_file:
|
|
- database.env
|
|
volumes:
|
|
- database-data:/var/lib/postgresql/data/
|
|
adminer:
|
|
image: adminer
|
|
ports:
|
|
- 8080:8080
|
|
|
|
volumes:
|
|
database-data:
|
|
drupal-modules:
|
|
drupal-profiles:
|
|
drupal-sites:
|
|
drupal-themes:
|
|
webroot:
|