mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2024-11-01 00:53:10 +01:00
24 lines
426 B
YAML
24 lines
426 B
YAML
|
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:
|
||
|
image: php:7.2.2-apache
|
||
|
container_name: php_web
|
||
|
depends_on:
|
||
|
- db
|
||
|
volumes:
|
||
|
- ./src/:/var/www/html/
|
||
|
ports:
|
||
|
- "8100:80"
|
||
|
stdin_open: true
|
||
|
tty: true
|