- Update traefik route to use Docker container names instead of host IPs - Update Dockerfile to build full app with sharp, ejs, marked dependencies - Simplify docker-compose.yml (remove traefik labels, use file provider routing) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
36 lines
752 B
YAML
36 lines
752 B
YAML
services:
|
|
web:
|
|
build: .
|
|
container_name: perilous-web
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3003:3000"
|
|
volumes:
|
|
- ./content:/usr/src/app/content
|
|
environment:
|
|
- EMAIL_PASSWORD=${PERILOUS_CODE_SERVER_PASSWORD}
|
|
networks:
|
|
- web
|
|
|
|
code-server:
|
|
image: lscr.io/linuxserver/code-server:latest
|
|
container_name: perilous-code-server
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./content:/home/project
|
|
- ./config:/config
|
|
ports:
|
|
- "8180:8443"
|
|
environment:
|
|
- PASSWORD=${PERILOUS_CODE_SERVER_PASSWORD}
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- PROXY_DOMAIN=cs.perilous.dev
|
|
- DEFAULT_WORKSPACE=/home/project
|
|
networks:
|
|
- web
|
|
|
|
networks:
|
|
web:
|
|
external: true
|