aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorGravatar TizzySaurus <[email protected]>2022-08-14 19:59:33 +0100
committerGravatar GitHub <[email protected]>2022-08-14 19:59:33 +0100
commitc206138d27954f3692ff22f9bd94acaf8e81b06a (patch)
tree56a2ddbce449ec5cb022c8420e23052a65fe5ad0 /docker-compose.yml
parentAddress Reviews (diff)
parentMerge pull request #2229 from python-discord/py3.10-rediscache (diff)
Merge branch 'main' into incident-archive-msg-improvements
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 869d9acb6..be7370d6b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -38,6 +38,7 @@ services:
metricity:
<< : *logging
+ << : *restart_policy
restart: on-failure # USE_METRICITY=false will stop the container, so this ensures it only restarts on error
depends_on:
postgres:
@@ -60,6 +61,18 @@ services:
ports:
- "127.0.0.1:8060:8060"
privileged: true
+ profiles:
+ - "3.10"
+
+ 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
web:
<< : *logging
@@ -95,7 +108,7 @@ services:
depends_on:
- web
- redis
- - snekbox
+ - snekbox-311
env_file:
- .env
environment: