coding-challenge-online-shop/docker-compose.yml

22 lines
368 B
YAML
Raw Permalink Normal View History

2018-07-14 10:29:32 +02:00
version: '3'
services:
db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: my_secret_pw_shh
MYSQL_DATABASE: test_db
MYSQL_USER: devuser
MYSQL_PASSWORD: devpass
ports:
- "9906:3306"
web:
2018-07-14 16:51:51 +02:00
build: .
2018-07-14 10:29:32 +02:00
container_name: php_web
depends_on:
- db
ports:
- "8100:80"
stdin_open: true
tty: true