diff options
| author | 2021-02-28 14:47:11 +0300 | |
|---|---|---|
| committer | 2021-02-28 14:49:42 +0300 | |
| commit | d1c229940248b7fd3a82713a125337d300729966 (patch) | |
| tree | 395131748f039524ef34affc16045cbc12fe70e6 /docker-compose.yml | |
| parent | Sets Sentry SDK Environment (diff) | |
| parent | Merge pull request #62 from python-discord/dependabot/pip/uvicorn-0.13.4 (diff) | |
Merge branch 'main' into dependabot/pip/sentry-sdk-0.20.3
Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
# poetry.lock
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index d44b4e0..4e58ef7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,13 @@ services: MONGO_INITDB_ROOT_PASSWORD: forms-backend MONGO_INITDB_DATABASE: pydis_forms + snekbox: + image: ghcr.io/python-discord/snekbox:latest + ipc: none + ports: + - "127.0.0.1:8060:8060" + privileged: true + backend: build: context: . @@ -19,11 +26,13 @@ services: - "127.0.0.1:8000:8000" depends_on: - mongo + - snekbox tty: true volumes: - .:/app:ro environment: - DATABASE_URL=mongodb://forms-backend:forms-backend@mongo:27017 + - SNEKBOX_URL=http://snekbox:8060/eval - OAUTH2_CLIENT_ID - OAUTH2_CLIENT_SECRET - ALLOWED_URL |