forked from Holo5/nitro-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
executable file
·64 lines (59 loc) · 1.5 KB
/
docker-compose.yaml
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
version: '3.7'
volumes:
volume-mysql:
volume-arcturus-maven-repo:
volume-arcturus-target:
volume-nitro-converter-node-modules:
volume-nitro-react-node-modules:
services:
arcturus:
container_name: arcturus
build:
context: emulator
entrypoint: ["/bin/sh","/app/scripts/build.sh"]
volumes:
- ./emulator/:/app/
- volume-arcturus-target:/app/arcturus/target
- volume-arcturus-maven-repo:/root/.m2
ports:
- 3000:3000
- 3001:3001
- 2096:2096
depends_on:
- mysql
networks:
nitro:
nitro:
container_name: nitro
build:
context: nitro
entrypoint: ["/bin/sh","/app/scripts/build.sh"]
volumes:
- ./nitro/:/app/
- volume-nitro-converter-node-modules:/app/nitro-converter/node_modules
- volume-nitro-react-node-modules:/app/nitro-react/node_modules
ports:
- 1080:5154
- 8080:8080
- 8081:8081
networks:
nitro:
mysql:
container_name: mysql
image: mariadb:10.6
command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_ROOT_PASSWORD=arcturus_root_pw
- MYSQL_USER=arcturus_user
- MYSQL_PASSWORD=arcturus_pw
- MYSQL_DATABASE=arcturus
volumes:
- volume-mysql:/var/lib/mysql
- ./mysql/conf.d:/etc/mysql/conf.d
- ./mysql/dumps:/docker-entrypoint-initdb.d
ports:
- 13306:3306
networks:
nitro:
networks:
nitro: