-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
62 lines (60 loc) · 1.68 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
services:
client:
container_name: sgsg-client
build:
context: ./client
target: dev
volumes:
- ./client/src:/client/src
- ./client/.svelte-kit:/client/.svelte-kit
ports:
- 3000:3000
environment:
TARGET: development
JWT_SECRET: ${JWT_SECRET}
PUBLIC_AUTH_URL: http://localhost:3001
AUTH_URI: service-auth:3002
PROFILE_URI: service-profile:3003
command: sh -c "npm run dev"
service-auth:
container_name: sgsg-service-auth
working_dir: /server
build:
context: ./service-auth
target: dev
volumes:
- ./service-auth:/server
ports:
- 3001:3001
- 3002:3002
environment:
LOG_LEVEL: debug
HTTP_PORT: 3001
GRPC_PORT: 3002
CLIENT_URL: http://localhost:3000
SERVER_HTTP: http://localhost:3001
JWT_SECRET: ${JWT_SECRET}
STRIPE_API_KEY: ${STRIPE_API_KEY}
STRIPE_PRICE_ID: ${STRIPE_PRICE_ID}
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
GOOGLE_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET}
GITHUB_CLIENT_ID: ${GITHUB_CLIENT_ID}
GITHUB_CLIENT_SECRET: ${GITHUB_CLIENT_SECRET}
TURSO_URL: libsql://sgsg-auth-mpiorowski.turso.io
TURSO_TOKEN: ${TURSO_TOKEN_AUTH}
command: sh -c "go run /server/."
service-profile:
container_name: sgsg-service-profile
working_dir: /server
build:
context: ./service-profile
target: dev
volumes:
- ./service-profile:/server
environment:
LOG_LEVEL: debug
GRPC_PORT: 3003
JWT_SECRET: ${JWT_SECRET}
TURSO_URL: libsql://sgsg-profile-mpiorowski.turso.io
TURSO_TOKEN: ${TURSO_TOKEN_PROFILE}
command: sh -c "go run /server/."