Skip to content

Commit

Permalink
#156: Updated docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Stöger committed Jan 30, 2025
1 parent 2d3e265 commit aef1d11
Showing 1 changed file with 51 additions and 44 deletions.
95 changes: 51 additions & 44 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
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-backend-image: &binocular-backend-image binocular-backend:latest-local #:${TAG:-latest-dev}
x-binocular-db-image: &binocular-db-image arangodb:3.11.1 #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
- /tmp/24ws-se-pr-inso-01:/app/binocular/repo/24ws-se-pr-inso-01
# - ./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
- ./.binocularrc2:/app/binocular/.binocularrc

services:
db:
Expand All @@ -23,6 +22,8 @@ services:
restart: unless-stopped
ports:
- "8529:8529"
environment:
ARANGO_NO_AUTH: 1

binocular-init:
image: *binocular-backend-image
Expand All @@ -33,38 +34,44 @@ services:
- 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"
"binocular",
""
# "run",
# "--clean",
# "--no-frontend",
# # "--no-backend",
# "--no-ci",
# "--no-its",
# "--no-jobs",
# "--no-server",
# # "/app/binocular/repo/test-repo"
# "/app/binocular/repo/24ws-se-pr-inso-01/"
]
volumes: *binocular-volumes-backend

binocular:
container_name: binocular_app
image: *binocular-frontend-image
# depends_on:
# - *binocular-depends-on
# - binocular-backend
ports:
- 8088:80
# 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
# 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

0 comments on commit aef1d11

Please sign in to comment.