-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (48 loc) · 1.03 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
services:
admin:
container_name: athlonix-admin
build:
context: .
dockerfile: ./apps/admin/Dockerfile
target: dev
env_file:
- .env
restart: unless-stopped
ports:
- ${ADMIN_PORT}:3100
volumes:
- /app/node_modules
- /app/apps/admin/node_modules
- ./apps/admin:/app/apps/admin
client:
container_name: athlonix-client
build:
context: .
dockerfile: ./apps/client/Dockerfile
target: dev
env_file:
- .env
restart: unless-stopped
ports:
- ${CLIENT_PORT}:3102
volumes:
- /app/node_modules
- /app/apps/client/node_modules
- ./apps/client:/app/apps/client
api:
container_name: athlonix-api
build:
context: .
dockerfile: ./apps/api/Dockerfile
target: dev
env_file:
- .env
tty: true
stdin_open: true
restart: unless-stopped
ports:
- ${API_PORT}:3101
volumes:
- /app/node_modules
- /app/apps/api/node_modules
- ./apps/api:/app/apps/api