ansible/roles/docker/templates/codeserver-compose.yml.j2
Phil dad7e887a8 feat: complete variable management implementation and update documentation
- Update remaining Docker Compose templates with centralized variables
- Fix service tag isolation to deploy individual services only
- Update all README files with variable management architecture
- Document variable hierarchy in DEPLOYMENT_LEARNINGS.md
- Add comprehensive variable usage patterns to CLAUDE.md
- Standardize domain references using {{ subdomains.* }} pattern
- Replace hardcoded network names with {{ docker.network_name }}
- Update hairpinning configuration to use variables

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-06 15:45:52 -06:00

22 lines
479 B
Django/Jinja

services:
codeserver:
stdin_open: true
tty: true
labels:
glance.name: Code Server
glance.icon: si:vscodium
glance.url: https://{{ subdomains.code }}/
glance.description: Code Server
container_name: codeserver
volumes:
- home:/home
environment:
- DOCKER_USER=$USER
image: codercom/code-server:latest
volumes:
home:
driver: local
networks:
default:
external: true
name: {{ docker.network_name }}