forked from Santandersecurityresearch/asvs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 1.03 KB
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (31 loc) · 1.03 KB
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
services:
asvs:
build:
context: .
dockerfile: Dockerfile
ports:
- "${ASVS_HOST_PORT:-8000}:8000"
environment:
DJANGO_DEBUG: "1"
DJANGO_SECRET_KEY: "insecure-local-development-key"
DJANGO_ALLOWED_HOSTS: "localhost,127.0.0.1,0.0.0.0"
DJANGO_SECURE_SSL_REDIRECT: "0"
GUNICORN_WORKERS: "2"
PORT: "8000"
DJANGO_SQLITE_PATH: "/app/db/db.sqlite3"
# Enables SURFconext SSO login (test/Playground endpoints are the
# default; see README.md "Single Sign-On (SURFconext)" section).
# Set OIDC_RP_CLIENT_ID/OIDC_RP_CLIENT_SECRET in a local, gitignored
# .env file (docker compose loads it automatically) -- never commit
# real client credentials into this file.
OIDC_ENABLED: "1"
OIDC_RP_CLIENT_ID: "${OIDC_RP_CLIENT_ID:-}"
OIDC_RP_CLIENT_SECRET: "${OIDC_RP_CLIENT_SECRET:-}"
volumes:
- asvs_db:/app/db
- asvs_storage:/app/storage
- asvs_staticfiles:/app/staticfiles
volumes:
asvs_db:
asvs_storage:
asvs_staticfiles: