-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
42 lines (41 loc) · 859 Bytes
/
compose.yaml
File metadata and controls
42 lines (41 loc) · 859 Bytes
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
services:
rest-api:
build:
context: ./backend
dockerfile: ./Dockerfile
env_file:
- '/home/wardxela/env/rcenextapi'
ports:
- '4200:80'
volumes:
- rest-api-static-files:/usr/src/app/static
extra_hosts:
- 'host.docker.internal:host-gateway'
restart: always
static-server:
build:
context: ./static-server
dockerfile: ./Dockerfile
ports:
- '4201:80'
volumes:
- rest-api-static-files:/usr/src/app/static
links:
- rest-api
depends_on:
- rest-api
restart: always
frontend:
build:
context: ./frontend
dockerfile: ./Dockerfile
env_file:
- '/home/wardxela/env/rcenextfrontend'
ports:
- '4202:3000'
restart: always
depends_on:
- rest-api
- static-server
volumes:
rest-api-static-files: