-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
36 lines (33 loc) · 834 Bytes
/
Copy pathcompose.yaml
File metadata and controls
36 lines (33 loc) · 834 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
services:
nginx:
image: nginx:alpine
restart: unless-stopped
ports:
- "${PORT}:80"
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- web
- imagor
web:
build: ./app
restart: unless-stopped
environment:
IMAGOR_SECRET: ${IMAGOR_SECRET}
MEETUP_ICS_URL: ${MEETUP_ICS_URL:-}
imagor:
image: shumc/imagor:latest
restart: unless-stopped
environment:
PORT: 8000
IMAGOR_SECRET: ${IMAGOR_SECRET}
IMAGOR_SIGNER_TYPE: sha256
IMAGOR_CACHE_HEADER_TTL: 168h
FILE_LOADER_BASE_DIR: /mnt/img
FILE_RESULT_STORAGE_BASE_DIR: /mnt/cache
HTTP_LOADER_ALLOWED_SOURCES: secure.meetupstatic.com
volumes:
- ./app/static/img:/mnt/img:ro
- imagor-cache:/mnt/cache
volumes:
imagor-cache: