-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (60 loc) · 2.31 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
services:
yarn:
image: node:19
working_dir: /workspace
volumes:
- ./:/workspace
entrypoint: yarn
profiles: [ 'dev' ]
api-dev:
image: node:19
working_dir: /workspace
volumes:
- ./:/workspace
environment:
- ORDI_PORT=8000
- ORDI_SUPABASE_URL=https://jopajmdkkjcksytoleoq.supabase.co
- ORDI_SUPABASE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImpvcGFqbWRra2pja3N5dG9sZW9xIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTA3OTAwNTQsImV4cCI6MjAwNjM2NjA1NH0.ncqCsQSn1Rch4R4QAE1KPXBv_xDj7l0eb3zSAlT-mUY
- ORDI_CORS=["http://localhost:5173"]
- ORDI_ROLE_GUARD_TOKEN=MTEzNTQ4MTUxMDY5MTA4NjQwNg.GeAT7r.h_7crCNl4Mm7vFconZGMooLWxb25nA16dbF47s
- ORDI_PASS_ROLE_ID=1155617925076627548
entrypoint: yarn workspace @api/entrypoint dev
ports:
- 8000:8000
depends_on:
yarn:
condition: service_completed_successfully
profiles: [ 'dev' ]
client-dev:
image: node:19
working_dir: /workspace
volumes:
- ./:/workspace
entrypoint: yarn workspace @app/entrypoint dev
environment:
- ORDI_SUPABASE_URL=https://jopajmdkkjcksytoleoq.supabase.co
- ORDI_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImpvcGFqbWRra2pja3N5dG9sZW9xIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTA3OTAwNTQsImV4cCI6MjAwNjM2NjA1NH0.ncqCsQSn1Rch4R4QAE1KPXBv_xDj7l0eb3zSAlT-mUY
- ORDI_PUBLIC_URL=http://localhost:5173/
- ORDI_API_URL=http://localhost:8000/
ports:
- 5173:5173
depends_on:
yarn:
condition: service_completed_successfully
api-dev:
condition: service_started
profiles: [ 'dev' ]
api-prod:
build:
context: .
dockerfile: api.dockerfile
environment:
- ORDI_PORT=8000
- ORDI_SUPABASE_URL=https://jopajmdkkjcksytoleoq.supabase.co
- ORDI_SUPABASE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImpvcGFqbWRra2pja3N5dG9sZW9xIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTA3OTAwNTQsImV4cCI6MjAwNjM2NjA1NH0.ncqCsQSn1Rch4R4QAE1KPXBv_xDj7l0eb3zSAlT-mUY
- ORDI_CORS=["https://orditracker.space"]
- ORDI_ROLE_GUARD_TOKEN=MTEzNTQ4MTUxMDY5MTA4NjQwNg.GeAT7r.h_7crCNl4Mm7vFconZGMooLWxb25nA16dbF47s
- ORDI_PASS_ROLE_ID=1157670924070424616
ports:
- 443:8000
profiles: [ 'prod' ]