-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 950 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 950 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
version: "3.9"
services:
redis:
image: redis:7.0-alpine
restart: always
ports:
- "6379:6379"
expose:
- "6379"
command: redis-server --save 20 1 --loglevel warning --requirepass password --maxmemory-policy noeviction
volumes:
- radquestRedisData:/data
redis-commander:
hostname: redis-commander
image: rediscommander/redis-commander:latest
restart: always
environment:
- REDIS_HOST=redis
- REDIS_PORT=${REDIS_PORT}
- REDIS_PASSWORD=${REDIS_PASSWORD}
ports:
- "8081:8081"
postgres:
image: postgres
restart: always
ports:
- "5433:5432"
expose:
- "5433"
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_DB=${POSTGRES_DB}
volumes:
- radquestPostgresData:/data
volumes:
radquestPostgresData:
driver: local
radquestRedisData:
driver: local