-
Notifications
You must be signed in to change notification settings - Fork 35
/
docker-compose.yml
102 lines (95 loc) · 2.36 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: '3'
services:
dev:
image: memefactory_base:local
build:
context: .
dockerfile: "docker-builds/base/Dockerfile"
args:
BUILD_ENV: "dev"
networks:
- dev_net
volumes:
- vol_m2_cache:/root/.m2
- vol_ipfs_data:/build
- vol_node_modules:/build/node_modules
- vol_target_dir:/build/target
- vol_tests:/build/tests
command:
- exit 0
environment:
MEMEFACTORY_ENV: "dev"
BUILD_ENV: "dev"
server:
image: memefactory-server:local
build:
context: .
dockerfile: "docker-builds/server/Dockerfile"
args:
BUILD_ENV: "dev"
MEMEFACTORY_ENV: "dev"
networks:
- dev_net
depends_on:
- ipfs
ports:
- 6300:6300
labels:
- "com.centurylinklabs.watchtower.stop-signal=SIGTERM"
- "com.centurylinklabs.watchtower.enable=true"
environment:
CONFIG: "/configs/meme.config.qa.edn"
MEMEFACTORY_ENV: "dev"
BUILD_ENV: "dev"
ui:
image: memefactory-ui:local
container_name: memefactory-ui
ports:
- 9000:9000
build:
context: .
dockerfile: "docker-builds/ui/Dockerfile"
args:
BUILD_ENV: "dev"
networks:
- dev_net
command:
--enable-middleware-cache
--disable-ajax-preload
--disable-ajax-bypass
--bots-only
depends_on:
- server
environment:
MEMEFACTORY_ENV: "dev"
BUILD_ENV: "dev"
ganache:
image: 0xorg/ganache-cli:latest
networks:
- dev_net
ports:
- 8545:8545
- 8549:8549
environment:
VERSION: 8.0.1
CHAIN_ID: 1337
NETWORK_ID: 1337
ipfs:
image: ipfs/go-ipfs:latest
volumes:
- vol_ipfs_data:/data/ipfs
networks:
- dev_net
ports:
- 4001:4001/tcp
- 4001:4001/udp
- 5001:5001
- 8080:8080
networks:
dev_net:
volumes:
vol_node_modules:
vol_m2_cache:
vol_target_dir:
vol_tests:
vol_ipfs_data: