forked from chmarr/artshow-jockey
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
44 lines (42 loc) · 1.25 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
42
43
44
version: '3'
services:
web:
build:
context: .
# Uncomment the next line when using django-debug-toolbar.
# target: dev
depends_on:
- db
- broker
ports:
- "8000:8000"
environment:
- DEBUG=1
- SECRET_KEY="Not so secret developer key"
- DATABASE_URL=postgres://postgres:insecuredefaultpassword@db/postgres
- BROKER_URL=amqp://broker
# Internal test OAuth provider configuration
- OAUTHLIB_INSECURE_TRANSPORT=1
- TEST_OAUTH_PROVIDER=1
# ConCat testing configuration
# - CONCAT_API="https://reg-test.furtherconfusion.org/api"
# - OAUTH_AUTHORIZE_URL="https://reg-test.furtherconfusion.org/oauth/authorize"
# - OAUTH_TOKEN_URL="https://reg-test.furtherconfusion.org/api/oauth/token"
# - OAUTH_CLIENT_ID="<FILL IN>"
# - OAUTH_CLIENT_SECRET="<FILL IN>"
volumes:
- ./:/code # Map source directory over /code for development purposes.
db:
image: "postgres:alpine"
volumes:
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=insecuredefaultpassword
broker:
image: "rabbitmq"
volumes:
- broker-data:/var/lib/rabbitmq
volumes:
db-data:
broker-data: