forked from workadventure/workadventure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.e2e.yml
109 lines (101 loc) · 3.16 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
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
front:
image: thecodingmachine/workadventure-front:${DOCKER_TAG:-develop}
build:
context: ./
dockerfile: front/Dockerfile
cache_from:
- thecodingmachine/workadventure-front:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
command: /start_nginx.sh
volumes: []
labels:
- "traefik.enable=true"
- "traefik.http.routers.front.rule=Host(`play.workadventure.localhost`)"
- "traefik.http.routers.front.entryPoints=web"
- "traefik.http.services.front.loadbalancer.server.port=80"
chat:
image: thecodingmachine/workadventure-chat:${DOCKER_TAG:-develop}
build:
context: ./
dockerfile: front/chat/Dockerfile
cache_from:
- thecodingmachine/workadventure-chat:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
command: /start_nginx.sh
volumes: []
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"
pusher:
image: thecodingmachine/workadventure-pusher:${DOCKER_TAG:-develop}
build:
context: ./
dockerfile: pusher/Dockerfile
cache_from:
- thecodingmachine/workadventure-pusher:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
command: yarn run runprod
volumes: []
environment:
ENABLE_OPENAPI_ENDPOINT: "false"
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: yarn run runprod
volumes: []
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
command: yarn run start:prod
volumes: []
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: []
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
command: yarn run runprod
volumes: []
ejabberd:
image: thecodingmachine/workadventure-simple-ecs:${DOCKER_TAG:-develop}
build:
context: xmpp/
cache_from:
- thecodingmachine/workadventure-simple-ecs:${DOCKER_TAG:-develop}
args:
BUILDKIT_INLINE_CACHE: 1
volumes: []