diff options
-rw-r--r-- | bot/constants.py | 1 | ||||
-rw-r--r-- | config-default.yml | 1 | ||||
-rw-r--r-- | docker-compose.yml | 12 |
3 files changed, 14 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index c39f9d2b8..db98e6f47 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -540,6 +540,7 @@ class URLs(metaclass=YAMLGetter): # Snekbox endpoints snekbox_eval_api: str + snekbox_311_eval_api: str # Discord API endpoints discord_api: str diff --git a/config-default.yml b/config-default.yml index 91945e2b8..a12b680e1 100644 --- a/config-default.yml +++ b/config-default.yml @@ -379,6 +379,7 @@ urls: # Snekbox snekbox_eval_api: !ENV ["SNEKBOX_EVAL_API", "http://snekbox.default.svc.cluster.local/eval"] + snekbox_311_eval_api: !ENV ["SNEKBOX_311_EVAL_API", "http://snekbox-311.default.svc.cluster.local/eval"] # Discord API URLs discord_api: &DISCORD_API "https://discordapp.com/api/v7/" diff --git a/docker-compose.yml b/docker-compose.yml index ce78f65aa..f0d3f934f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,6 +62,18 @@ services: - "127.0.0.1:8060:8060" privileged: true + snekbox-311: + << : *logging + << : *restart_policy + image: ghcr.io/python-discord/snekbox:3.11-dev + init: true + ipc: none + ports: + - "127.0.0.1:8065:8060" + privileged: true + profiles: + - "3.11" + web: << : *logging << : *restart_policy |