My personal dev container
8.2K
This is my personal development container.
services:
dev:
build: .
restart: unless-stopped
ports:
- "8080:80"
- "2222:22"
environment:
- DOCKER_HOST=tcp://dind:2376
- DOCKER_CERT_PATH=/certs/client
- DOCKER_TLS_VERIFY=1
- TTYD_USER=admin
- TTYD_PASS=admin
depends_on:
- dind
volumes:
- certs:/certs
- nix:/nix
- heywoodlh-home:/home/heywoodlh
dind:
image: docker.io/docker:dind
restart: unless-stopped
privileged: true
volumes:
- certs:/certs
volumes:
certs:
nix:
heywoodlh-home:
I use it in Kubernetes as well. Check it out with nix:
nix build -o dev.yaml "github:heywoodlh/nixos-configs?dir=flakes/kube#dev" && cat dev.yaml
Content type
Image
Digest
sha256:872d5db5a…
Size
317.2 MB
Last updated
about 23 hours ago
docker pull heywoodlh/dev