Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- db:
- image: mysql:5.7
- volumes:
- - "./.data/db:/var/lib/mysql"
- restart: always
- environment:
- MYSQL_ROOT_PASSWORD: *******
- MYSQL_DATABASE: ****
- MYSQL_USER: ****
- MYSQL_PASSWORD: ****
- node:
- depends_on:
- - db
- image: node:latest
- links:
- - db
- ports:
- - "8000:3306"
- ports:
- - "80:80"
- - "443:443"
- restart: always
- volumes:
- - which folders shall I connect ?
- apache:
- depends_on:
- - db
- image: php:7-apache
- links:
- - db
- ports:
- - "8000:3306"
- ports:
- - "80:80"
- - "443:443"
- restart: always
- volumes:
- - "./.data/backup:/var/www/html"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement