-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
91 lines (84 loc) · 1.71 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
82
83
84
85
86
87
88
89
90
91
version: "3"
services:
db:
image: mariadb:10
container_name: jacq-db
environment:
MYSQL_DATABASE: ${DB}
MYSQL_USER: ${DB_USER}
MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
expose:
- 3306
networks:
- backend
ports:
- 3306:3306
restart: always
volumes:
- ./initdb:/docker-entrypoint-initdb.d
- db:/var/lib/mysql
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: jacq-phpmyadmin
environment:
PMA_ABSOLUTE_URI: http://${DEFAULT_HOST}/phpmyadmin/
expose:
- 80
networks:
- backend
- frontend
ports:
- 8081:80
links:
- db:mysql_db_server
restart: always
wildfly:
build:
args:
WILDFLY_USER: ${WILDFLY_USER}
WILDFLY_PASSWORD: ${WILDFLY_PASSWORD}
context: .
dockerfile: Dockerfile
container_name: jacq-wildfly
depends_on:
- db
environment:
VIRTUAL_HOST: ${DEFAULT_HOST}
VIRTUAL_PORT: 8080
networks:
- backend
- frontend
ports:
- 9990:9990
- 9991:9991
restart: always
gnparser:
image: gnames/biodiversity
container_name: jacq-biodiversity
expose:
- 4334
networks:
- frontend
restart: always
nginx-proxy:
image: jwilder/nginx-proxy
container_name: jacq-nginx-proxy
depends_on:
- phpmyadmin
- wildfly
networks:
- frontend
ports:
- 80:80
- 443:443
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/nginx.conf
- ./nginx/vhost.d:/etc/nginx/vhost.d
- /var/run/docker.sock:/tmp/docker.sock:ro
restart: always
networks:
backend:
frontend:
volumes:
db: