diff options
| author | 2020-02-28 08:38:55 -0800 | |
|---|---|---|
| committer | 2020-02-28 08:38:55 -0800 | |
| commit | 3e17cb6462163347234c3569bd4cd2a5c62ced37 (patch) | |
| tree | a10143d5e0368d72789707aabaf5e6a1679cac94 /docker-compose.yml | |
| parent | Change snekbox timeout to 6 seconds. (diff) | |
| parent | Change 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.yml | 7 |
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: |