-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
70 lines (65 loc) · 1.97 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
version: "3.8"
x-binocular-backend-image: &binocular-backend-image ghcr.io/inso-tuwien/binocular-backend:6903046272 #:${TAG:-latest-dev}
x-binocular-db-image: &binocular-db-image ghcr.io/inso-tuwien/binocular-database:6773404196 #:${TAG:-latest-dev}
x-binocular-frontend-image: &binocular-frontend-image ghcr.io/inso-tuwien/binocular-frontend:${TAG:-latest}
x-binocular-depends-on: &binocular-depends-on
- db
x-binocular-volumes-backend:
&binocular-volumes-backend
- ./cli:/app/binocular/cli
- ./binocular-backend:/app/binocular/binocular-backend
- ./services:/app/binocular/services
- ./foxx:/app/binocular/foxx
- ./binocular.js:/app/binocular.js
- ./cli.js:/app/binocular/cli.js
- ./package.json:/app/binocular/package.json
- ./.binocularrc:/app/binocular/.binocularrc
services:
db:
image: *binocular-db-image
container_name: binocular_db
restart: unless-stopped
ports:
- "8529:8529"
binocular-init:
image: *binocular-backend-image
depends_on: *binocular-depends-on
container_name: "binocular_init"
tty: true
environment:
- DEBUG=idx*,importer*,git*,db*,context*
command:
[
"tsx",
"binocular.ts",
"--no-open",
"--no-server",
# "/app/binocular/repo/test-repo"
"/app/binocular/repo/23ws-ase-pr-inso-06"
]
volumes: *binocular-volumes-backend
binocular:
container_name: binocular_app
image: *binocular-frontend-image
# depends_on:
# - *binocular-depends-on
# - binocular-backend
ports:
- 8088:80
binocular-backend:
image: *binocular-backend-image
depends_on: *binocular-depends-on
container_name: "binocular_backend"
user: "root"
tty: true
environment:
- DEBUG=idx*,importer*,git*,db*,context*
# command:
# [
# "tsx",
# "watch",
# "binocular.js",
# "--no-binocular-frontend",
# "--no-open"
# ]
# volumes: *binocular-volumes-backend