diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 15 | 
1 files changed, 13 insertions, 2 deletions
| diff --git a/docker-compose.yml b/docker-compose.yml index a7747a6..d073dd1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,17 +2,28 @@ version: "3.7"  services:    snekbox: -    container_name: snekbox +    container_name: snekbox_dev +    hostname: snekbox_dev      privileged: true -    image: ghcr.io/python-discord/snekbox:latest +    image: ghcr.io/python-discord/snekbox:dev      ports:       - 8060:8060      init: true      ipc: none +    working_dir: $PWD +    environment: +      DEBUG: 1 +      PIPENV_PIPFILE: /snekbox/Pipfile +      PYTHONDONTWRITEBYTECODE: 1      build:        context: .        dockerfile: Dockerfile +      args: +        DEV: 1 +      cache_from: +        - ghcr.io/python-discord/snekbox:latest      volumes: +      - $PWD:$PWD        - user-base:/snekbox/user_base  volumes: | 
