Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.1'
- services:
- db:
- image: mariadb:latest
- restart: always
- environment:
- MYSQL_ROOT_PASSWORD: somewordpress
- MYSQL_DATABASE: wordpress
- MYSQL_USER: wordpress
- MYSQL_PASSWORD: wordpress
- wordpress:
- depends_on:
- - db
- image: wordpress:latest
- ports:
- - "8000:80"
- restart: always
- volumes:
- - wp_vol:/var/www/html
- environment:
- WORDPRESS_DB_HOST: db:3306
- WORDPRESS_DB_USER: wordpress
- WORDPRESS_DB_PASSWORD: wordpress
- sb:
- depends_on:
- - wordpress
- image: dperson/samba
- command: [samba.sh,
- -u root;root,
- -s wp_vol;/var/www/html;yes;no,
- ]
- ports:
- - "138:138/udp"
- - "139:139/udp"
- - "445:445/udp"
- - "445:445"
- volumes:
- - wp_vol:/var/www/html
- adminer:
- image: adminer
- ports:
- - 8080:8080
- volumes:
- wp_vol:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement