-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
27 lines (26 loc) · 875 Bytes
/
compose.yml
File metadata and controls
27 lines (26 loc) · 875 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
services:
app:
# image: ghcr.io/pnsgg/smashrecap:latest
build:
context: .
dockerfile: Dockerfile
pull_policy: always
ports:
- '3001:3000'
environment:
- ALLOW_CACHING=true
- ORIGIN=${ORIGIN}
- REDIS_URL=redis://:${REDIS_PASSWORD}@redis:6379
- REMOTION_BUNDLE_LOCATION=${REMOTION_BUNDLE_LOCATION}
- REMOTION_AWS_ACCESS_KEY_ID=${REMOTION_AWS_ACCESS_KEY_ID}
- REMOTION_AWS_SECRET_ACCESS_KEY=${REMOTION_AWS_SECRET_ACCESS_KEY}
- STARTGG_CLIENT_ID=${STARTGG_CLIENT_ID}
- STARTGG_CLIENT_SECRET=${STARTGG_CLIENT_SECRET}
- STARTGG_REDIRECT_URI=${STARTGG_REDIRECT_URI}
depends_on:
- redis
redis:
image: redis:alpine
volumes:
- /mnt/drive/smashrecap/redis/data:/data
command: redis-server --requirepass ${REDIS_PASSWORD} --appendonly yes --appendfsync everysec