-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
48 lines (44 loc) ยท 1 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
version: '3.8'
services:
nginx:
image: ghcr.io/isanghaessi/web11-donggle_nginx
build:
dockerfile: Dockerfile.${COMPOSE_MODE}
context: ./nginx
depends_on:
- client-react
- server-express
ports:
- 80:80
- 443:443
volumes:
- dist:/dist
- ./nginx/tls:/tls
- /etc/letsencrypt:/etc/letsencrypt
client-react:
image: ghcr.io/isanghaessi/web11-donggle_client-react
build:
dockerfile: Dockerfile.${COMPOSE_MODE}
context: ./client
env_file:
- ./client/.env.${COMPOSE_MODE}
expose:
- 3000
volumes:
- dist:/client-react/build
- ./client/:/donggle-client-development
server-express:
image: ghcr.io/isanghaessi/web11-donggle_server-express
build:
dockerfile: Dockerfile.${COMPOSE_MODE}
context: ./server
env_file:
- ./server/.env.${COMPOSE_MODE}
expose:
- 5000
dns:
- 8.8.8.8
volumes:
- ./server:/donggle-server-development
volumes:
dist: