-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
50 lines (45 loc) · 983 Bytes
/
docker-compose.yaml
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
version: "3.8"
services:
redis:
image: redis:latest
container_name: redis-server
command: redis-server
volumes:
- vercel_redis:/var/lib/redis
- vercel_redis_config:/usr/local/etc/redis/redis.conf
networks:
- vercel-network
build-server:
build:
context: ./build-server
dockerfile: Dockerfile
container_name: build-server
restart: unless-stopped
networks:
- vercel-network
api-server:
build:
context: ./api-server
dockerfile: Dockerfile
container_name: api-server
restart: unless-stopped
ports:
- "4001:4001"
networks:
- vercel-network
s3-reverse-proxy:
build:
context: ./s3-reverse-proxy
dockerfile: Dockerfile
container_name: s3-reverse-proxy
restart: unless-stopped
ports:
- "4003:4003"
networks:
- vercel-network
volumes:
vercel_redis:
vercel_redis_config:
networks:
vercel-network:
driver: bridge