-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
80 lines (74 loc) · 2.19 KB
/
docker-compose.dev.yaml
File metadata and controls
80 lines (74 loc) · 2.19 KB
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
80
services:
nginx:
container_name: nginx
image: nginx
depends_on:
- filer
restart: always
volumes:
- ./.data/nginx/logs:/var/log/nginx
- ./.data/nginx/conf:/etc/nginx
ports:
- "80:80"
command: "/bin/sh -c 'echo \"## DO NOT EDIT; THIS IS AUTOGENERATED. EDIT nginx.conf.dev-template INSTEAD\n\n$(envsubst < /etc/nginx/nginx.conf.dev-template)\" > /etc/nginx/nginx.conf; while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
networks:
- checkpoint
environment:
CHECKPOINT_HOSTNAME: "checkpoint.localhost"
master:
image: registry.digitalocean.com/incanta-generic-cr/checkpointvcs/seaweedfs
build:
context: ./src/seaweedfs/docker
dockerfile: Dockerfile.local
pull_policy: always
command: "master -ip=master -ip.bind=0.0.0.0"
volumes:
- ./.data/seaweed-config/security.toml:/etc/seaweedfs/security.toml
networks:
- checkpoint
volume:
image: registry.digitalocean.com/incanta-generic-cr/checkpointvcs/seaweedfs
build:
context: ./src/seaweedfs/docker
dockerfile: Dockerfile.local
pull_policy: always
command: 'volume -mserver="master:9333" -ip.bind=0.0.0.0 -port=8080'
depends_on:
- master
volumes:
- ./.data/seaweed-data:/data
- ./.data/seaweed-config/security.toml:/etc/seaweedfs/security.toml
networks:
- checkpoint
filer:
image: registry.digitalocean.com/incanta-generic-cr/checkpointvcs/seaweedfs
build:
context: ./src/seaweedfs/docker
dockerfile: Dockerfile.local
pull_policy: always
command: 'filer -master="master:9333" -ip.bind=0.0.0.0 -metricsPort=9326'
tty: true
stdin_open: true
depends_on:
- master
- volume
volumes:
- ./.data/seaweed-config/filer.toml:/etc/seaweedfs/filer.toml
- ./.data/seaweed-config/security.toml:/etc/seaweedfs/security.toml
networks:
- checkpoint
redis:
image: redis
ports:
- 6379:6379
volumes:
- ./.data/redis:/data
networks:
- checkpoint
volumes:
node_modules_redwood:
node_modules_redwood_api:
node_modules_redwood_web:
node_modules_backend:
networks:
checkpoint: