forked from workadventure/workadventure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.e2e.yml
126 lines (118 loc) · 3.57 KB
/
docker-compose.e2e.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
version: "3.6"
services:
# overrides for e2e tests to be closer to production
# use with command:
# docker-compose -f docker-compose.yaml -f docker-compose.e2e.yml up -d --build
play:
image: thecodingmachine/workadventure-play:${DOCKER_TAG:-develop}
build:
context: ./
dockerfile: play/Dockerfile
cache_from:
- thecodingmachine/workadventure-play:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
working_dir: /usr/src/play
command: npm run start
volumes: []
environment:
ENABLE_OPENAPI_ENDPOINT: "false"
STARTUP_COMMAND_0: ""
STARTUP_COMMAND_1: ""
STARTUP_COMMAND_2: ""
STARTUP_COMMAND_3: ""
STARTUP_COMMAND_4: ""
STARTUP_COMMAND_5: ""
labels:
- "traefik.enable=true"
- "traefik.http.routers.play.rule=Host(`play.workadventure.localhost`)"
- "traefik.http.routers.play.entryPoints=web"
- "traefik.http.services.play.loadbalancer.server.port=3000"
chat:
image: thecodingmachine/workadventure-chat:${DOCKER_TAG:-develop}
build:
context: ./
dockerfile: chat/Dockerfile
cache_from:
- thecodingmachine/workadventure-chat:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
command: /start_nginx.sh
volumes: []
environment:
STARTUP_COMMAND_2: ""
STARTUP_COMMAND_3: ""
STARTUP_COMMAND_4: ""
labels:
- "traefik.enable=true"
- "traefik.http.routers.chat.rule=Host(`chat.workadventure.localhost`)"
- "traefik.http.routers.chat.entryPoints=web"
- "traefik.http.services.chat.loadbalancer.server.port=80"
back:
image: thecodingmachine/workadventure-back:${DOCKER_TAG:-develop}
build:
context: ./
dockerfile: back/Dockerfile
cache_from:
- thecodingmachine/workadventure-back:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
command: npm run runprod
working_dir: /usr/src/back
volumes: []
environment:
ENABLE_OPENAPI_ENDPOINT: "false"
STARTUP_COMMAND_0: ""
STARTUP_COMMAND_1: ""
STARTUP_COMMAND_2: ""
map-storage:
image: thecodingmachine/workadventure-map-storage:${DOCKER_TAG:-develop}
build:
context: ./
dockerfile: map-storage/Dockerfile
cache_from:
- thecodingmachine/workadventure-map-storage:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
working_dir: /usr/src/map-storage
command: npm run start
volumes: []
environment:
STARTUP_COMMAND_1: ""
STARTUP_COMMAND_2: ""
maps:
image: thecodingmachine/workadventure-maps:${DOCKER_TAG:-develop}
build:
context: maps/
cache_from:
- thecodingmachine/workadventure-maps:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
volumes: []
environment:
STARTUP_COMMAND_0: ""
STARTUP_COMMAND_1: ""
uploader:
image: thecodingmachine/workadventure-uploader:${DOCKER_TAG:-develop}
build:
context: ./
dockerfile: uploader/Dockerfile
cache_from:
- thecodingmachine/workadventure-uploader:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
working_dir: /usr/src/uploader
command: npm run start
volumes: []
environment:
ENABLE_OPENAPI_ENDPOINT: "false"
STARTUP_COMMAND_1: ""
ejabberd:
image: thecodingmachine/workadventure-ejabberd:${DOCKER_TAG:-develop}
build:
context: ./xmpp
cache_from:
- thecodingmachine/workadventure-ejabberd:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
volumes: []