-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
71 lines (65 loc) · 1.7 KB
/
docker-compose.dev.yaml
File metadata and controls
71 lines (65 loc) · 1.7 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
69
70
71
version: "3"
services:
web-server:
container_name: web-server-synet
build: ./web-server
restart: always
volumes:
- ./web-server/conf.d:/etc/nginx/conf.d
- ./web-server/nginx.conf:/etc/nginx/nginx.conf
ports:
- "8080:8080"
depends_on:
- "server"
- "client"
server:
container_name: server-synet
build: ./server
restart: always
volumes:
- "./server:/server"
- "./scripts/data/encodings.csv:/app/encodings.csv"
- "./server/.aspnet/https/:/https/"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_Kestrel__Certificates__Default__Password=Synet
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx
ports:
- "80:80"
- "443:443"
client:
container_name: client-synet
build:
context: ./client
stdin_open: true
restart: always
volumes:
- "./client:/App"
- "./client/node_modules:/App/node_modules"
ports:
- "3000:3000"
depends_on:
- "server"
cache-lru:
container_name: cache-lru-synet
image: redis
restart: always
ports:
- "6379:6379"
volumes:
- "./data/redis-lru/redis-data:/var/lib/redis"
- "./data/redis-lru/redis.conf:/usr/local/etc/redis/redis.conf"
environment:
REDIS_REPLICATION_MODE: master
cache-lfu:
container_name: cache-lfu-synet
image: redis
restart: always
ports:
- "6380:6380"
volumes:
- "./data/redis-lfu/redis-data:/var/lib/redis"
- "./data/redis-lfu/redis.conf:/usr/local/etc/redis/redis.conf"
environment:
REDIS_REPLICATION_MODE: master