-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
45 lines (41 loc) · 961 Bytes
/
docker-compose.yaml
File metadata and controls
45 lines (41 loc) · 961 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
version: '3.9'
services:
dreamScreenTime:
container_name: dreamScreenTime
image: dreamscreentime:${PROJECT_VERSION}
build: ./apps/telegram
environment:
- CACHE_REDIS_HOST=redis
env_file:
- dreamScreenTime.env
networks:
dreamScreenTime-network:
dreamScreenTime-redis:
container_name: dreamScreenTime-redis
image: redis:5.0
deploy:
resources:
limits:
memory: 64M
reservations:
memory: 16M
ports:
- "6379:6379/tcp"
networks:
dreamScreenTime-network:
aliases:
- redis
redis-commander:
container_name: dreamScreenTime-redis-commander
hostname: redis-commander
image: rediscommander/redis-commander:latest
restart: always
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- "6381:8081"
networks:
dreamScreenTime-network:
networks:
dreamScreenTime-network:
driver: bridge