Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- node:
- build: .
- volumes:
- - $PWD:/usr/src/app
- ports:
- - "8080:3000"
- expose:
- - "8080"
- working_dir: /usr/src/app
- links:
- - db
- db:
- image: mysql
- environment:
- MYSQL_ROOT_PASSWORD: veggy_boy
- MYSQL_DATABASE: asd
- MYSQL_USER: asd
- MYSQL_PASSWORD: nbasan
- expose:
- - "3306"
- phpmyadmin:
- image: phpmyadmin/phpmyadmin
- links:
- - db
- ports:
- - "8181:80"
- expose:
- - "80"
- environment:
- PMA_USER: asd
- PMA_PASSWORD: asd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement