-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-local.yml
executable file
·60 lines (55 loc) · 1.23 KB
/
docker-compose-local.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
version: '2.3'
services:
rts: #ir-engine-realtime-server
build:
context: ../xrsocial-realtime-server
image: ir-engine/realtime-server
restart: always
environment:
NAF_LISTEN_PORT: 8081
ports:
- '8081:8081'
- '9229:9229'
server:
build:
context: ../xrsocial
image: ir-engine/server
restart: always
environment:
PORT: 3030
# take care, db not 127.0.0.1, because compose uses an intenal DNS
MYSQL_URL: mysql://server:password@db:3306/ir-engine
ports:
- '3030:3030'
depends_on:
- db
client:
build:
context: ../xrsocial-client
image: ir-engine/client
environment:
SITE_TITLE: Infinite Reality Engine
SITE_DESC: Connected Worlds for Everyone
APP_ENV: dev
restart: always
ports:
- '3000:3000'
# DB Server
db:
image: mariadb:10.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: ir-engine-root-pa$$w0rd
MYSQL_DATABASE: ir-engine
MYSQL_USER: server
MYSQL_PASSWORD: password
ports:
- '3306:3306'
# lets you view the database
adminer:
image: adminer
restart: always
ports:
- "8080:8080"
depends_on:
- db