Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.7'
- services:
- db:
- image: mysql:8.0.17
- environment:
- MYSQL_ROOT_PASSWORD: 'yesyesnono'
- command: --default-authentication-plugin=mysql_native_password
- restart: always
- server:
- image: testing:1.0
- build:
- context: .
- dockerfile: Dockerfile
- environment:
- DB_HOST: db
- DB_PORT: '3306'
- DB_USER: 'root'
- DB_PASSWORD: 'yesyesnono'
- ports:
- - "3005:3005"
- depends_on:
- - db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement