Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- # NGINX
- nginx:
- build:
- context: ./
- dockerfile: nginx/Dockerfile
- working_dir: /tddd
- #volumes_from:
- # - app
- ports:
- - "8087:8087"
- # MySQL
- mysql:
- image: mysql:5.7
- restart: always
- environment:
- - MYSQL_DATABASE=tddd
- - MYSQL_USER=tddd
- - MYSQL_PASSWORD=secret
- - MYSQL_ROOT_PASSWORD=secret
- - MYSQL_ALLOW_EMPTY_PASSWORD=no
- - MYSQL_RANDOM_ROOT_PASSWORD=no
- volumes:
- - ./var/lib/mysql:/var/lib/mysql
- ports:
- - "33061:3306"
- # Test Driven Development Dashboard
- tddd:
- build:
- context: ./
- dockerfile: app/Dockerfile
- working_dir: /tddd/repository
- volumes:
- - './config/tddd:/tddd/config'
- environment:
- - "DB_PORT=3306"
- - "DB_HOST=database"
- #command: bash /tddd/start.sh
- links:
- - mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement