parent
953ca979c0
commit
13a18de1f5
|
@ -1 +1,3 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
|
files/*
|
||||||
|
!files/.gitkeep
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit c8772790b252a9f5b8c19d6bb59bda76f8fd1b28
|
Subproject commit e64c1988cc66fd4762e311c2da11e5aa5f261fce
|
|
@ -33,6 +33,7 @@ services:
|
||||||
- "5432:5432" # Close this for production
|
- "5432:5432" # Close this for production
|
||||||
networks:
|
networks:
|
||||||
- pgnet
|
- pgnet
|
||||||
|
|
||||||
nats:
|
nats:
|
||||||
image: nats:latest
|
image: nats:latest
|
||||||
ports: # Close these for production
|
ports: # Close these for production
|
||||||
|
@ -49,6 +50,19 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- redisnet
|
- redisnet
|
||||||
|
|
||||||
|
minio:
|
||||||
|
image: minio/minio:latest
|
||||||
|
environment:
|
||||||
|
- MINIO_ACCESS_KEY=MINIO_ID
|
||||||
|
- MINIO_SECRET_KEY=MINIO_KEY
|
||||||
|
ports:
|
||||||
|
- "9000:9000"
|
||||||
|
volumes:
|
||||||
|
- ./files:/export
|
||||||
|
command: minio server /export
|
||||||
|
networks:
|
||||||
|
- minionet
|
||||||
|
|
||||||
core:
|
core:
|
||||||
build: ./backend-core
|
build: ./backend-core
|
||||||
tty: true
|
tty: true
|
||||||
|
@ -119,6 +133,24 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- authnet
|
- authnet
|
||||||
|
|
||||||
|
pictures:
|
||||||
|
build: ./backend-pictures
|
||||||
|
tty: true
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- minio
|
||||||
|
- traefik
|
||||||
|
environment:
|
||||||
|
- LISTEN=:80
|
||||||
|
- MINIO_ENDPOINT=minio:9000
|
||||||
|
- MINIO_ID=MINIO_ID
|
||||||
|
- MINIO_KEY=MINIO_KEY
|
||||||
|
- MINIO_BUCKET_NAME=beep
|
||||||
|
- MINIO_LOCATION=us-east-1
|
||||||
|
networks:
|
||||||
|
- traefiknet
|
||||||
|
- minionet
|
||||||
|
|
||||||
# Pipeline
|
# Pipeline
|
||||||
bite:
|
bite:
|
||||||
build: ./backend-bite
|
build: ./backend-bite
|
||||||
|
@ -192,3 +224,4 @@ networks:
|
||||||
natsnet:
|
natsnet:
|
||||||
redisnet:
|
redisnet:
|
||||||
traefiknet:
|
traefiknet:
|
||||||
|
minionet:
|
||||||
|
|
16
traefik.toml
16
traefik.toml
|
@ -126,6 +126,22 @@ entrypoints = ["http", "https"]
|
||||||
[frontends.transcription.routes.one]
|
[frontends.transcription.routes.one]
|
||||||
rule = "PathPrefixStrip: /transcription/"
|
rule = "PathPrefixStrip: /transcription/"
|
||||||
|
|
||||||
|
# pictures
|
||||||
|
[backends.pictures]
|
||||||
|
[backends.pictures.servers.one]
|
||||||
|
url = "http://pictures"
|
||||||
|
|
||||||
|
[frontends.pictures]
|
||||||
|
backend = "pictures"
|
||||||
|
entrypoints = ["http", "https"]
|
||||||
|
[frontends.pictures.headers.customresponseheaders]
|
||||||
|
Access-Control-Allow-Origin = "*"
|
||||||
|
Access-Control-Allow-Headers = "Content-Type, Authorization, X-User-Claim"
|
||||||
|
Access-Control-Allow-Credentials = "true"
|
||||||
|
Access-Control-Allow-Methods = "GET, HEAD, POST, PUT, PATCH, DELETE"
|
||||||
|
[frontends.pictures.routes.one]
|
||||||
|
rule = "PathPrefixStrip: /pictures/"
|
||||||
|
|
||||||
# login
|
# login
|
||||||
[backends.login]
|
[backends.login]
|
||||||
[backends.login.servers.one]
|
[backends.login.servers.one]
|
||||||
|
|
Loading…
Reference in New Issue