aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2020-02-28 08:38:55 -0800
committerGravatar GitHub <[email protected]>2020-02-28 08:38:55 -0800
commit3e17cb6462163347234c3569bd4cd2a5c62ced37 (patch)
treea10143d5e0368d72789707aabaf5e6a1679cac94 /docker-compose.yml
parentChange snekbox timeout to 6 seconds. (diff)
parentChange CI and dev.sh to not use host network mode. (diff)
Merge pull request #59 from python-discord/compose
Use port mapping, change container name to snekbox.
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index aeb2806..aec17d3 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,10 +1,11 @@
version: "3.7"
services:
- pdsnk:
- hostname: "pdsnk"
+ snekbox:
+ container_name: snekbox
privileged: true
image: pythondiscord/snekbox:latest
- network_mode: "host"
+ ports:
+ - 8060:8060
init: true
ipc: none
build: