-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (55 loc) · 1.33 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
version: "3"
services:
back-end:
container_name: back-end
restart: always
build:
context: ./backend
dockerfile: ./Dockerfile
links:
- mongo
networks:
default:
aliases:
- front-end
volumes:
- ./backend/public/fileStore:/api/public/fileStore
mongo:
container_name: mongo
restart: always
environment:
MONGO_INITDB_DATABASE: Backup
image: mongo
volumes:
- ./mongo-volume:/data/db
n8n:
image: n8nio/n8n
container_name: n8n
restart: always
ports:
- 5678:5678
links:
- back-end
networks:
default:
aliases:
- back-end
volumes:
- ./n8n:/home/node/.n8n
front-end:
container_name: front-end
restart: always
build:
context: ./frontend
dockerfile: ./Dockerfile
ports:
- "7783:80"
links:
- back-end
networks:
default:
aliases:
- back-end
volumes:
api:
components: