Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- web1:
- image: php:apache
- hostname: web1
- links:
- - mysql
- volumes:
- - /home/iche/Desktop/index.php
- expose:
- - 80
- web2:
- image: php:apache
- hostname: web2
- links:
- - web1
- volumes:
- - /home/iche/Desktop/index.php
- expose:
- - 80
- haproxy:
- build: haproxy
- links:
- - web1
- - web2
- ports:
- - "80:80"
- tty: true
- mysql:
- image: mysql:5.7
- environment:
- - MYSQL_ROOT_PASSWORD=test
- - MYSQL_DATABASE=wordpresse
- - MYSQL_USER=root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement