diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-08-22 19:21:12 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-08-22 19:21:12 +0900 |
| commit | 7c80f5ce7e44b95d16e19de40de0f8079377c6b9 (patch) | |
| tree | ad189b750361af8c7cb040b56f42df5d4e5a89ee /docker-compose.yml | |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a0ae240 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +services: + app: + container_name: todo-app + build: + context: . + target: app + expose: + - "3000" + volumes: + - ./data:/app/data + environment: + - NODE_ENV=production + - DB_PATH=/app/data/todo.db + - SESSION_SECRET=${SESSION_SECRET} + - REGISTER_TOKEN=${REGISTER_TOKEN} + - WEBAUTHN_RP_ID=todo.yyamashita.com + - WEBAUTHN_ORIGIN=https://todo.yyamashita.com + restart: unless-stopped + networks: + - web + +networks: + web: + external: true + name: web |
