diff --git a/docker-compose.yaml b/docker-compose.yaml index d2e2cf7..8c414e3 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -39,14 +39,24 @@ services: image: gitea/gitea:latest container_name: gitea restart: unless-stopped + # environment: + # - USER_UID=1000 + # - USER_GID=1000 + # - DB_TYPE=sqlite3 # Use PostgreSQL for production environment: - - USER_UID=1000 - - USER_GID=1000 - - DB_TYPE=sqlite3 # Use PostgreSQL for production + - GITEA__database__DB_TYPE=sqlite3 + - GITEA__server__DOMAIN=gitea.local + - GITEA__server__ROOT_URL=http://gitea.local/ + - GITEA__server__HTTP_PORT=3000 + - GITEA__server__SSH_PORT=22 + - GITEA__server__SSH_DOMAIN=gitea.local + - GITEA__security__SECRET_KEY=dev_secret_key_123 volumes: - ./data/gitea:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro + ports: + - '3000:3000' networks: - gitea-net deploy: