-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 799 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (28 loc) · 799 Bytes
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
version: '2'
services:
ips_test_mariadb:
container_name: ips_test_mariadb
image: 'bitnami/mariadb:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=ips_test
- MARIADB_DATABASE=ips_test
- MARIADB_PASSWORD=jHQVADxhwtja9 # generated password that matches the setup from .env.example
ports:
- 3306:3306
ips_test_app:
container_name: ips_test_app
image: 'bitnami/laravel:latest'
labels:
kompose.service.type: nodeport
environment:
- DB_HOST=ips_test_mariadb
- DB_USERNAME=ips_test
- DB_DATABASE=ips_test
- DB_PASSWORD=jHQVADxhwtja9 # generated password that matches the setup from .env.example
depends_on:
- ips_test_mariadb
ports:
- 3000:3000
volumes:
- ./:/app