-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (51 loc) ยท 1012 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
56 lines (51 loc) ยท 1012 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: "3.9"
services:
server:
build:
context: ./server
dockerfile: Dockerfile.dev
image: server
container_name: server
restart: always
ports:
- 8080:8080
volumes:
- /tmp/server/npm_cache:/root/.npm:z
- ./server/src:/usr/src/app/src:z
environment:
EXAMPLE_ENV: example
daemon:
build:
context: ./daemon
dockerfile: Dockerfile
image: daemon
container_name: daemon
restart: always
caddy:
image: caddy:latest
container_name: caddy
command: caddy reverse-proxy --to client:3000
ports:
- 443:443
restart: always
client:
build:
context: ./client
dockerfile: Dockerfile
image: client
container_name: client
restart: always
ports:
- 3000:3000
admin:
build:
context: ./admin
dockerfile: Dockerfile
image: admin
container_name: admin
restart: always
ports:
- 3001:3000
volumes:
ganache_data:
driver: local