-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (38 loc) · 1009 Bytes
/
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
version: '3.8'
# Services
services:
#auth_service
auth_service:
build:
context: ./backend/auth_service
dockerfile: Dockerfile
container_name: auth_service
ports:
- "8080:8080"
environment:
- JWT_SECRET="your_secret"
- MONGO_URI="mongodb+srv://KURO:KURO@task-manager.8d8g6sk.mongodb.net/GYM?retryWrites=true&w=majority"
#workout_service
workout_service:
build:
context: ./backend/workouts_service
dockerfile: Dockerfile
container_name: workouts_service
ports:
- "3001:3001"
environment:
- DATABASE_URL="postgresql://postgres:iLIxAwKQgqQWemNvFcNwEgCPEYzDkwxh@monorail.proxy.rlwy.net:15555/railway"
gateway:
build:
context: ./backend/gateway
dockerfile: Dockerfile
container_name: gateway
ports:
- "7000:7000"
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: frontend
ports:
- "3000:3000"