-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
81 lines (75 loc) · 1.69 KB
/
docker-compose.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "3"
services:
proxy:
image: nginx:alpine
ports:
- 8080:80
volumes:
- ./proxy/nginx.conf:/etc/nginx/nginx.conf
depends_on:
- tilt
networks:
tilt_network:
ipv4_address: 172.50.0.2
tilt:
build:
context: .
dockerfile: Dockerfile
image: tilt
environment:
- BASE_URL=http://localhost:8080/apply/
- PORT=3000
- LOG_LEVEL=debug
- LOG_FILENAME=tilt.log
- MAIL_HOST=maildev
- MAIL_PORT=1025
- MAIL_USERNAME=root@localhost
- MAIL_PASSWORD=password
- DATABASE_NAME=tilt
- DATABASE_HOST=db
- DATABASE_PASSWORD=wowsuchpassword
- DATABASE_PORT=3306
- DATABASE_USERNAME=root
- SECRET_JWT=wow_this_is_some_secure_password
depends_on:
- db
networks:
tilt_network:
ipv4_address: 172.50.0.3
db:
image: mariadb:latest
volumes:
- ./db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=wowsuchpassword
- MYSQL_DATABASE=tilt
ports:
- 3306:3306
networks:
tilt_network:
ipv4_address: 172.50.0.4
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
environment:
- PMA_HOST=db
- PMA_USER=root
- PMA_PASSWORD=wowsuchpassword
ports:
- 8081:80
networks:
tilt_network:
ipv4_address: 172.50.0.5
maildev:
image: djfarrelly/maildev
command: bin/maildev --incoming-user root@localhost --incoming-pass password --hide-extensions STARTTLS
ports:
- 8082:1080
- "2525:1025"
networks:
tilt_network:
ipv4_address: 172.50.0.6
networks:
tilt_network:
ipam:
config:
- subnet: 172.50.0.0/16