Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- php:
- build: ./php-fpm
- expose:
- - "9000"
- links:
- - wordpress
- volumes:
- - ./symfony:/var/www/symfony
- - ./logs/symfony:/var/www/symfony/app/logs
- nginx:
- image: nginx
- restart: always
- ports:
- - 80:80
- - 443:443
- links:
- - php
- volumes_from:
- - wordpress:ro
- volumes:
- - ./etc/nginx/conf.d:/etc/nginx/conf.d:ro
- - ./var/log/nginx:/var/log/nginx
- wordpress:
- build: wordpress
- restart: always
- links:
- - mysql
- - memcached
- environment:
- WORDPRESS_DB_USER: wordpress
- WORDPRESS_DB_PASSWORD: password
- WORDPRESS_DB_NAME: wordpress
- mysql:
- image: mariadb
- restart: always
- volumes:
- - ./var/mysql:/var/lib/mysql
- environment:
- MYSQL_DATABASE: wordpress
- MYSQL_USER: wordpress
- MYSQL_PASSWORD: password
- MYSQL_ROOT_PASSWORD: password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement