Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2955d2d5c392 nginx "/sbin/my_init" 38 seconds ago Up 36 seconds 0.0.0.0:8080->80/tcp dockertutorial_web_1
- ec3c16795f05 php:7-fpm "docker-php-entrypoin" 38 seconds ago Up 37 seconds 9000/tcp dockertutorial_php_1
- 835e91ba927a mysql:latest "docker-entrypoint.sh" 38 seconds ago Exited (0) 37 seconds ago dockertutorial_mysql_1
- web:
- image: nginx
- ports:
- - "8080:80"
- volumes:
- - ./src/public:/var/www/public
- - ./src/vhost.conf:/etc/nginx/sites-enabled/vhost.conf
- links:
- - php
- php:
- image: php:7-fpm
- volumes:
- - ./src/public:/var/www/public
- links:
- - mysql
- mysql:
- image: mysql:latest
- ports:
- - "3306:3306"
- volumes:
- - /var/lib/mysql
- command: "true"
- environment:
- MYSQL_ROOT_PASSWORD: secret
- MYSQL_DATABASE: project
- MYSQL_USER: project
- MYSQL_PASSWORD: project
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement