-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcompose.yml
60 lines (56 loc) · 1.09 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
services:
api:
image: ghcr.io/maxentr/skyjo/api:latest
build:
context: .
dockerfile: ./apps/api/Dockerfile
depends_on:
- redis
ports:
- "3001:3001"
networks:
- internal
- external
env_file:
- .env
- ./apps/api/.env
environment:
- NODE_ENV=production
- REDIS_URL=redis://:${REDIS_PASSWORD}@redis:6379
restart: always
redis:
image: redis/redis-stack-server:latest
command: redis-server --loadmodule /opt/redis-stack/lib/rejson.so --requirepass ${REDIS_PASSWORD}
volumes:
- redis-data:/data
ports:
- 6379:6379
networks:
- internal
- external
env_file:
- .env
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD}
restart: always
seq:
image: datalust/seq:latest
ports:
- "5341:80"
networks:
- internal
- external
env_file:
- .env
environment:
- ACCEPT_EULA=Y
restart: unless-stopped
volumes:
- seq-data:/data
networks:
internal:
internal: true
external:
volumes:
redis-data:
seq-data: