-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
79 lines (74 loc) · 1.62 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# DISCLAIMER:
# We use this docker compose file for development purposes only.
# Please don't directly use this configuration for production deployment.
services:
# DO NOT use this version of NocoDB if you are deploying this to production.
# Always use their SaaS offering.
nocodb:
image: nocodb/nocodb:latest
ports:
- 127.0.0.1:8080:8080
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: on-failure
max_attempts: 5
delay: 30s
window: 120s
resources:
limits:
memory: 500MB
cpus: '1'
volumes:
- nocodb-data:/usr/app/data/
mailcrab:
image: marlonb/mailcrab:latest
ports:
- 127.0.0.1:1025:1025
- 127.0.0.1:8025:1080
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: on-failure
max_attempts: 5
delay: 30s
window: 120s
resources:
limits:
memory: 500MB
cpus: '1'
logging:
driver: local
options:
max-size: 10M
backend:
build: ./backend
ports:
- 127.0.0.1:8080:8080
environment:
NOCODB_BASE_URL: http://nocodb:8080
PORT: 8080
depends_on:
nocodb:
condition: service_healthy
mailcrab:
condition: service_started
logging:
driver: local
options:
max-size: 10M
frontend:
build: ./frontend
ports:
- 127.0.0.1:3000:3000
depends_on:
backend:
condition: service_started
logging:
driver: local
options:
max-size: 10M
volumes:
nocodb-data: