Add in cloudflare ddns and restructure repo
This commit is contained in:
6
services/devbox/.env.example
Executable file
6
services/devbox/.env.example
Executable file
@@ -0,0 +1,6 @@
|
||||
# devbox/.env
|
||||
# Copy to .env and fill in real values. NEVER commit .env.
|
||||
|
||||
DEVBOX_SSH_PORT=46573
|
||||
DEVBOX_MEM_LIMIT=10g
|
||||
DEVBOX_SWAP_LIMIT=20g
|
||||
13
services/devbox/docker-compose.yml
Executable file
13
services/devbox/docker-compose.yml
Executable file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
devcontainer:
|
||||
image: devbox-devcontainer
|
||||
container_name: devcontainer
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${DEVBOX_SSH_PORT:-46573}:2222"
|
||||
volumes:
|
||||
- ${STORAGE_PATH}/devbox:/home/devuser
|
||||
env_file:
|
||||
- ../.env
|
||||
mem_limit: ${DEVBOX_MEM_LIMIT:-10g}
|
||||
memswap_limit: ${DEVBOX_SWAP_LIMIT:-20g}
|
||||
Reference in New Issue
Block a user