-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (61 loc) · 1.45 KB
/
docker-compose.yml
File metadata and controls
66 lines (61 loc) · 1.45 KB
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
# UI Angular
ui:
container_name: "ui"
build: ./docker/dev/run/frontend
#image: httpd:2.4.17
labels:
com.mgreau.tennistour.ui: "UI"
ports:
- "8888:80"
volumes:
- ./app/tennistour-ui/app:/usr/local/apache2/htdocs/
environment:
- WEBSOCKET_HOST=docker4devtennistourapp_realtime
# Backend:: Batch App
batch:
container_name: "batch"
build: ./docker/dev/run/backend
labels:
com.mgreau.tennistour.batch.run: "Batch Binaries"
ports:
- "7777:8080"
- "8787:8787"
#debug
command: ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "--debug", "8787"]
expose:
- "8787"
volumes:
- ./app/tennistour-batch/target/batch:/opt/jboss/wildfly/standalone/deployments/ROOT.war/
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis-cache
# Backend:: Run WebSocket
realtime:
build: ./docker/dev/run/backend
labels:
com.mgreau.tennistour.ws.run: "WS Binaries"
expose:
- "8080"
volumes:
- ./app/tennistour-realtime-server/target/ws:/opt/jboss/wildfly/standalone/deployments/ROOT.war/
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis-cache
redis:
container_name: "redis-cache"
image: redis
dbdata:
container_name: "datas"
image: mysql:5.7
volumes:
- /var/lib/mysql
mysql:
container_name: "db"
image: mysql:5.7
volumes_from:
- dbdata
environment:
- MYSQL_ROOT_PASSWORD=tennistour
- MYSQL_DATABASE=tennistour
- MYSQL_USER=tennistour
- MYSQL_PASSWORD=tennistour