-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
70 lines (59 loc) · 2.03 KB
/
docker-compose.yaml
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
61
62
63
64
65
66
67
68
69
70
version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: showtime
ports:
- "3000:3000"
environment:
- HOST=0.0.0.0
- PORT=3000
- MONGO_URL=mongodb://mongo:27017/showtime
- REDIS_URL=redis://redis:6379
- NEXTAUTH_URL=http://localhost:3000 # Change this to your public url
- NEXTAUTH_DB=mongodb://mongo:27017/showtime
- NEXTAUTH_SECRET=561b17f96ccd0eafa720fa8d7e00a0ce30b72220e6bdb2c0d26e5dc04b97ea950d72c785f3188d25df7503c024dce2b72de27fdb51f7a853a4ba02dfeccbae2f
- IMGPROXY_URL=http://localhost:8080
- IMGPROXY_KEY=561b17f96ccd0eafa720fa8d7e00a0ce30b72220e6bdb2c0d26e5dc04b97ea950d72c785f3188d25df7503c024dce2b72de27fdb51f7a853a4ba02dfeccbae2f
- IMGPROXY_SALT=561b17f96ccd0eafa720fa8d7e00a0ce30b72220e6bdb2c0d26e5dc04b97ea950d72c785f3188d25df7503c024dce2b72de27fdb51f7a853a4ba02dfeccbae2f
- IMGPROXY_MAX_SRC_RESOLUTION=16.8
- IMGPROXY_TTL=31536000
- IMGPROXY_USE_ETAG=true
- TRAKT_CLIENT_ID=${TRAKT_CLIENT_ID}
- TRAKT_CLIENT_SECRET=${TRAKT_CLIENT_SECRET}
- TMDB_API_KEY=${TMDB_API_KEY}
- TMDB_ACCESS_TOKEN=${TMDB_ACCESS_TOKEN}
- SENTRY_DSN=${SENTRY_DSN}
env_file:
- .env
depends_on:
- mongo
- redis
- imgproxy
mongo:
image: mongo:latest
volumes:
- mongo_data:/data/db
ports:
- "27017:27017"
redis:
image: redis:latest
volumes:
- redis_data:/data
ports:
- "6379:6379"
imgproxy:
image: darthsim/imgproxy
ports:
- "8080:8080"
environment:
- IMGPROXY_KEY=561b17f96ccd0eafa720fa8d7e00a0ce30b72220e6bdb2c0d26e5dc04b97ea950d72c785f3188d25df7503c024dce2b72de27fdb51f7a853a4ba02dfeccbae2f
- IMGPROXY_SALT=561b17f96ccd0eafa720fa8d7e00a0ce30b72220e6bdb2c0d26e5dc04b97ea950d72c785f3188d25df7503c024dce2b72de27fdb51f7a853a4ba02dfeccbae2f
- IMGPROXY_MAX_SRC_RESOLUTION=16.8
- IMGPROXY_TTL=31536000
- IMGPROXY_USE_ETAG=true
volumes:
mongo_data:
redis_data: