forked from AnthonyTacquet/HuisVanAlijn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
49 lines (46 loc) · 1.1 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3'
services:
web:
build:
context: ./web/
dockerfile: ./docker/alpine/Dockerfile
container_name: web
environment:
- BACKEND_BASE_URL=http://bo40884.158.220.108.165.sslip.io
- SUB_DIR=/
ports:
- 81:80
php-web:
container_name: migration
build:
context: ./infrastructure
dockerfile: ./docker/migration/alpine/Dockerfile
environment:
- DB_CONNECTION=mysql
- DB_HOST=http://vkoww40.158.220.108.165.sslip.io
- DB_PORT=80
- DB_DATABASE=DBpoppenhuis
- DB_USERNAME=laravel
- DB_PASSWORD=Azerty111
- SUB_DIR=/
ports:
- "8081:80"
depends_on:
- mysqldb
volumes:
- ./images:/var/www/storage/app/public/
mysqldb:
build:
context: ./infrastructure
dockerfile: ./docker/mysql/Dockerfile
container_name: mysqldb
restart: always
ports:
- "3307:3306"
environment:
- ROOT_PASSWORD=Azerty123
- DATABASE=DBpoppenhuis
- EXTRA_USER=laravel
- EXTRA_PASS=Azerty111
- EXTRA_DATABASE=DBpoppenhuis
- EXTRA_PERMISSIONS=ALL