-
Notifications
You must be signed in to change notification settings - Fork 84
/
docker-compose.override.yml
42 lines (39 loc) · 1.08 KB
/
docker-compose.override.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
---
version: '3.4'
# Local environment should mount plaintext files as secrets
secrets:
DJANGO_DB_NAME:
file: ./secrets/DJANGO_DB_NAME
DJANGO_DB_USER:
file: ./secrets/DJANGO_DB_USER
DJANGO_DB_PASSWORD:
file: ./secrets/DJANGO_DB_PASSWORD
DKIM_PRIVATE_KEY:
file: ./secrets/DKIM_PRIVATE_KEY
MYSQL_ROOT_PASSWORD:
file: ./secrets/MYSQL_ROOT_PASSWORD
SECRET_KEY:
file: ./secrets/SECRET_KEY
TWLIGHT_OAUTH_CONSUMER_KEY:
file: ./secrets/TWLIGHT_OAUTH_CONSUMER_KEY
TWLIGHT_OAUTH_CONSUMER_SECRET:
file: ./secrets/TWLIGHT_OAUTH_CONSUMER_SECRET
TWLIGHT_EZPROXY_SECRET:
file: ./secrets/TWLIGHT_EZPROXY_SECRET
services:
twlight:
image: quay.io/wikipedialibrary/twlight:local
env_file:
- ./conf/local.twlight.env
# Local environment should mount things from the code directory
volumes:
- type: bind
source: .
target: /app
web:
volumes:
- type: bind
source: ./conf/local.nginx.conf
target: /etc/nginx/conf.d/default.conf
# syslog:
# image: quay.io/wikipedialibrary/twlight_syslog:local