blob: f5460243d5477ad7fe910159f48d060611a3dc17 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
version: "3.7"
services:
snekbox:
container_name: snekbox_dev
hostname: snekbox_dev
privileged: true
image: ghcr.io/python-discord/snekbox${IMAGE_SUFFIX:-:dev}
ports:
- 8060:8060
init: true
ipc: none
tty: true
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:
user-base:
|