Author SHA1 Message Date
Cedric Pollefeys 5ad17323dd Add Node.js .gitignore (#3) 2026-09-29 21:51:20 -04:00
3 changed files with 3 additions and 54 deletions
+3
View File
@@ -0,0 +1,3 @@
node_modules/
.env
*.log
-5
View File
@@ -1,5 +0,0 @@
# Caddy obtains and renews the Let's Encrypt certificate for this hostname
# and redirects HTTP to HTTPS automatically. TLS terminates here.
git.pollefeys.dev {
reverse_proxy gitea:3000
}
-49
View File
@@ -1,49 +0,0 @@
# Seat-Back Trivia startup work hub: Gitea behind Caddy on the ssw-590 droplet.
# Only Caddy publishes host ports. Gitea is reachable only on the private
# gitea-net network, and its SQLite database lives in the gitea-data volume.
name: gitea
services:
caddy:
image: caddy:2.11.4
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data
- caddy-config:/config
networks:
- gitea-net
depends_on:
- gitea
gitea:
image: docker.gitea.com/gitea:1.27.3
restart: unless-stopped
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__server__DOMAIN=git.pollefeys.dev
- GITEA__server__ROOT_URL=https://git.pollefeys.dev/
- GITEA__server__HTTP_PORT=3000
- GITEA__server__DISABLE_SSH=true
- GITEA__database__DB_TYPE=sqlite3
- GITEA__database__PATH=/data/gitea/gitea.db
- GITEA__security__INSTALL_LOCK=true
- GITEA__service__DISABLE_REGISTRATION=true
volumes:
- gitea-data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
- gitea-net
networks:
gitea-net:
volumes:
gitea-data:
caddy-data:
caddy-config: