forked from jarvis2f/vortex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 973 Bytes
/
docker-compose.yml
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
version: "3.3"
services:
vortex:
container_name: vortex
image: jarvis2f/vortex:latest
env_file:
- .env
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- "18000:3000"
depends_on:
- vortex-postgres
- vortex-redis
vortex-postgres:
container_name: vortex-postgres
image: postgres:16.1-alpine3.19
env_file:
- .env
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- ./db:/var/lib/postgresql/data
vortex-redis:
container_name: vortex-redis
image: redis:7.2.4-alpine
restart: always
command: [redis-server, /etc/redis/redis.conf]
volumes:
- /etc/localtime:/etc/localtime:ro
- ./redis/data:/data
- ./redis/redis.conf:/etc/redis/redis.conf
ports:
- "18044:6379"