diff options
-rw-r--r-- | ci/setup.yml | 1 | ||||
-rw-r--r-- | docker-compose.yml | 7 | ||||
-rwxr-xr-x | scripts/dev.sh | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/ci/setup.yml b/ci/setup.yml index cf190de..1c66aa7 100644 --- a/ci/setup.yml +++ b/ci/setup.yml @@ -7,7 +7,6 @@ steps: --detach \ --name snekbox_test \ --privileged \ - --network host \ --hostname pdsnk-dev \ -e PYTHONDONTWRITEBYTECODE=1 \ -e PIPENV_PIPFILE="/snekbox/Pipfile" \ 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: diff --git a/scripts/dev.sh b/scripts/dev.sh index 0275651..408ce2e 100755 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -38,7 +38,6 @@ docker run \ --detach \ --name snekbox_test \ --privileged \ - --network host \ --hostname pdsnk-dev \ --ipc="none" \ -e PYTHONDONTWRITEBYTECODE=1 \ |