-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·109 lines (106 loc) · 2.94 KB
/
docker-compose.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
# Make sure you have a gitlab token for your gitlab user with read_registry access
# https://git.isis.vanderbilt.edu/-/user_settings/personal_access_tokens
#
# docker login git.isis.vanderbilt.edu:5050 -u <username> -p <personal_access_token>
# docker-compose up
version: "3"
# The use of multiple networks is only for documentation purposes.
networks:
depi-net:
driver: bridge
gitea-net:
driver: bridge
mongo-net:
driver: bridge
webgme-net:
driver: bridge
services:
dolt-server:
image: dolthub/dolt-sql-server:latest
container_name: dolt-server
restart: always
volumes:
- ./depi:/var/lib/dolt/depi-example
networks:
- depi-net
ports:
- 3306:3306
command: /var/lib/dolt/depi-example/start-dolt.sh
depi-server:
image: git.isis.vanderbilt.edu:5050/aa-caid/depi-impl/depi-go-server:0.7.6
container_name: depi-server
restart: always
volumes:
- ./depi:/app/depi-example
networks:
- depi-net
ports:
- 5150:5150
command: /app/depi-example/start-depi.sh
git-monitor:
image: git.isis.vanderbilt.edu:5050/aa-caid/depi-impl/git-monitors:0.7.6
container_name: git-monitor
restart: always
command: python -u ./src/depi_monitors/git_monitor.py --depi depi-server:5150 --user monitor --password monitor --toolid git --port 3003
networks:
- depi-net
- gitea-net
gsn-monitor:
image: git.isis.vanderbilt.edu:5050/aa-caid/depi-impl/git-monitors:0.7.6
container_name: gsn-monitor
restart: always
command: python -u ./src/depi_monitors/git_monitor.py --depi depi-server:5150 --user monitor --password monitor --toolid git-gsn --port 3002
networks:
- depi-net
- gitea-net
webgme-server:
image: git.isis.vanderbilt.edu:5050/aa-caid/webgme-depi:0.2.5
container_name: webgme-server
restart: always
environment:
- NODE_ENV=docker
- GME_PUBLIC_HOST=${HOST}
networks:
- webgme-net
- mongo-net
ports:
- 8888:8888
webgme-monitor:
image: git.isis.vanderbilt.edu:5050/aa-caid/webgme-depi:0.2.5
container_name: webgme-monitor
restart: always
command: npm run monitor
environment:
- NODE_ENV=docker
- GME_HOST=webgme
networks:
- webgme-net
- depi-net
- mongo-net
mongo:
image: mongo:4.2
container_name: mongo
restart: always
volumes:
- ./webgme/data:/data/db
- ./webgme/dumps:/dumps
environment:
- NODE_ENV=docker
networks:
- mongo-net
gitea:
image: gitea/gitea:latest-rootless
container_name: gitea
restart: always
volumes:
- ./gitea/data:/var/lib/gitea
- ./gitea/config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- GITEA__REPOSITORY__ENABLE_PUSH_CREATE_USER=true
- GITEA__webhook__ALLOWED_HOST_LIST=git-monitor,gsn-monitor
networks:
- gitea-net
ports:
- 3000:3000