issue-1-gitea-operations
Add versioned Gitea Compose configuration
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
gitea:
|
||||
image: docker.gitea.com/gitea:1.27.3
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
GITEA__database__DB_TYPE: sqlite3
|
||||
GITEA__server__DOMAIN: ${GITEA_DOMAIN:?Set GITEA_DOMAIN in .env}
|
||||
GITEA__server__ROOT_URL: https://${GITEA_DOMAIN:?Set GITEA_DOMAIN in .env}/
|
||||
GITEA__server__DISABLE_SSH: "true"
|
||||
GITEA__service__DISABLE_REGISTRATION: "true"
|
||||
volumes:
|
||||
- gitea_data:/data
|
||||
networks:
|
||||
- color-net
|
||||
# No host ports: Caddy reaches gitea:3000 on the private Docker network.
|
||||
|
||||
volumes:
|
||||
gitea_data:
|
||||
|
||||
networks:
|
||||
color-net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user