Compare commits
13
Commits
8a8f7632fb
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2daa0dbd9 | ||
|
|
11ac824a32 | ||
|
|
533ddfb38a | ||
|
|
620dec7b2a | ||
|
|
c8feda9d0a | ||
|
|
7b6d0031b4 | ||
|
|
fe7b75aa4d | ||
|
|
1d941afe01 | ||
|
|
48ec71ae1d | ||
|
|
c54d549545 | ||
|
|
08f9864b1e | ||
|
|
6048911c30 | ||
|
|
7ea76fe2ec |
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
acme_ca https://acme-v02.api.letsencrypt.org/directory
|
||||||
|
}
|
||||||
|
|
||||||
|
{$GITEA_HOSTNAME} {
|
||||||
|
reverse_proxy gitea:3000
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
# Gitea Operations
|
||||||
|
|
||||||
|
This directory contains the versioned, non-secret Gitea deployment.
|
||||||
|
|
||||||
|
## Current staging design
|
||||||
|
|
||||||
|
- Gitea image: `docker.gitea.com/gitea:1.27.3-rootless`
|
||||||
|
- Database: SQLite
|
||||||
|
- Application data volume: `filepilot-gitea_gitea-data`
|
||||||
|
- Configuration volume: `filepilot-gitea_gitea-config`
|
||||||
|
- Temporary access: `127.0.0.1:3000`
|
||||||
|
- Public backend port: none
|
||||||
|
- Git-over-SSH: disabled
|
||||||
|
|
||||||
|
The loopback mapping is temporary until the assignment domain, HTTPS proxy,
|
||||||
|
and final hostname are configured.
|
||||||
|
|
||||||
|
## Operations
|
||||||
|
|
||||||
|
Start or update the service:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose up -d
|
||||||
|
docker compose ps
|
||||||
|
docker compose logs --tail=100 gitea
|
||||||
|
docker compose down
|
||||||
|
```
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
name: myfileagent-gitea
|
||||||
|
|
||||||
|
services:
|
||||||
|
caddy:
|
||||||
|
image: caddy:2.11.4-alpine
|
||||||
|
container_name: myfileagent-caddy
|
||||||
|
restart: unless-stopped
|
||||||
|
profiles:
|
||||||
|
- https
|
||||||
|
environment:
|
||||||
|
GITEA_HOSTNAME: ${GITEA_HOSTNAME:-localhost}
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
volumes:
|
||||||
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||||
|
- caddy-data:/data
|
||||||
|
- caddy-config:/config
|
||||||
|
networks:
|
||||||
|
- edge
|
||||||
|
- gitea-private
|
||||||
|
depends_on:
|
||||||
|
- gitea
|
||||||
|
|
||||||
|
gitea:
|
||||||
|
image: docker.gitea.com/gitea:1.27.3-rootless
|
||||||
|
container_name: myfileagent-gitea
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
GITEA__database__DB_TYPE: sqlite3
|
||||||
|
GITEA__database__PATH: /var/lib/gitea/data/gitea.db
|
||||||
|
GITEA__server__DOMAIN: "${GITEA_DOMAIN:-localhost}"
|
||||||
|
GITEA__server__ROOT_URL: "${GITEA_ROOT_URL:-http://localhost:3000/}"
|
||||||
|
GITEA__server__HTTP_PORT: 3000
|
||||||
|
GITEA__server__DISABLE_SSH: "true"
|
||||||
|
GITEA__service__DISABLE_REGISTRATION: "true"
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:3000:3000"
|
||||||
|
volumes:
|
||||||
|
- gitea-data:/var/lib/gitea
|
||||||
|
- gitea-config:/etc/gitea
|
||||||
|
networks:
|
||||||
|
- gitea-private
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
caddy-data:
|
||||||
|
caddy-config:
|
||||||
|
gitea-data:
|
||||||
|
gitea-config:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
edge:
|
||||||
|
gitea-private:
|
||||||
Reference in New Issue
Block a user