-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
41 lines (39 loc) · 1.15 KB
/
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
version: "3"
services:
medialit:
image: codelit/medialit
restart: on-failure
environment:
- DB_CONNECTION_STRING=${DB_CONNECTION_STRING}
- CLOUD_ENDPOINT=${CLOUD_ENDPOINT}
- CLOUD_REGION=${CLOUD_REGION}
- CLOUD_KEY=${CLOUD_KEY}
- CLOUD_SECRET=${CLOUD_SECRET}
- CLOUD_BUCKET_NAME=${CLOUD_BUCKET_NAME}
- CLOUD_PREFIX=${CLOUD_PREFIX}
- S3_ENDPOINT=${S3_ENDPOINT}
- TEMP_FILE_DIR_FOR_UPLOADS=${TEMP_FILE_DIR_FOR_UPLOADS}
- PORT=8000
- EMAIL_HOST=${EMAIL_HOST}
- EMAIL_USER=${EMAIL_USER}
- EMAIL_PASS=${EMAIL_PASS}
- EMAIL_FROM=${EMAIL_FROM}
- ENABLE_TRUST_PROXY=${ENABLE_TRUST_PROXY}
- USE_CLOUDFRONT=${USE_CLOUDFRONT}
- CLOUDFRONT_ENDPOINT=${CLOUDFRONT_ENDPOINT}
- CLOUDFRONT_KEY_PAIR_ID=${CLOUDFRONT_KEY_PAIR_ID}
- CLOUDFRONT_PRIVATE_KEY=${CLOUDFRONT_PRIVATE_KEY}
- CDN_MAX_AGE=${CDN_MAX_AGE}
expose:
- 8000
proxy:
image: caddy
restart: on-failure
environment:
- SITE_ADDRESS=${SITE_ADDRESS}
ports:
- "443:443"
volumes:
- "./Caddyfile:/etc/caddy/Caddyfile"
depends_on:
- medialit