-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (64 loc) · 1.48 KB
/
Copy pathdocker-compose.yml
File metadata and controls
64 lines (64 loc) · 1.48 KB
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
services:
# Frontend
web:
build:
context: ./web
dockerfile: Dockerfile
args:
SERVER_URL: http://api:8080
ports:
- "3000:3000"
environment:
- NODE_ENV=production
restart: unless-stopped
api:
build:
context: ./api
dockerfile: Dockerfile
ports:
- "5001:8080"
environment:
- FLASK_APP=app
- FLASK_DEBUG=1
- DATABASE_URL=sqlite:///prolio.sqlite
- GEMINI_API_KEY=${GEMINI_API_KEY}
- OAUTHLIB_INSECURE_TRANSPORT=1
- GOOGLE_DISCOVERY_URL=http://oauth:9000/.well-known/openid-configuration
- GOOGLE_CLIENT_ID=dummy
- GOOGLE_CLIENT_SECRET=dummy
restart: unless-stopped
texify:
build:
context: ./texify
dockerfile: Dockerfile
privileged: true
ports:
- 9090:8080
environment:
- GCS_BUCKET_NAME=prolio
- GCS_EMULATOR_HOST=http://gcs:4443
- GCS_EMULATOR=1
depends_on:
- redis
restart: unless-stopped
oauth:
build:
context: ./oauth
dockerfile: Dockerfile
ports:
- 9000:9000
environment:
- AUTHORIZATION_URL=http://127.0.0.1:9000/auth
- TOKEN_ENDPOINT=http://oauth:9000/token
- USERINFO_ENDPOINT=http://oauth:9000/userinfo
restart: unless-stopped
gcs:
image: fsouza/fake-gcs-server
command: -scheme http -external-url http://gcs:4443
ports:
- "4443:4443"
restart: unless-stopped
redis:
image: redis:latest
ports:
- "6379:6379"