-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (58 loc) · 1.32 KB
/
docker-compose.yml
File metadata and controls
68 lines (58 loc) · 1.32 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
# version: "3.8"
# services:
# builder:
# build:
# context: ./build-server
# dockerfile: Dockerfile
# container_name: vortex-builder
# environment:
# GIT_REPOSITORY_URL: https://github.com/piyushgarg-dev/piyush-vite-app
# PROJECT_ID: test-project
# volumes:
# - deployments:/home/app/deployments
# restart: "no"
# proxy:
# build:
# context: ./reverse-proxy
# dockerfile: Dockerfile
# container_name: vortex-proxy
# ports:
# - "8000:8000"
# volumes:
# - deployments:/var/www/deployments
# restart: unless-stopped
# volumes:
# deployments:
version: "3.8"
services:
redis:
image: redis:7
container_name: redis
ports:
- "6379:6379"
restart: unless-stopped
api:
build:
context: ./api-server
dockerfile: Dockerfile
container_name: vortex-api
ports:
- "9000:9000"
depends_on:
- redis
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/www/deployments:/home/app/deployments
restart: unless-stopped
proxy:
build:
context: ./reverse-proxy
dockerfile: Dockerfile
container_name: vortex-proxy
ports:
- "8000:8000"
volumes:
- /var/www/deployments:/home/app/deployments
restart: unless-stopped
volumes:
deployments: