all ok
This commit is contained in:
+13
-3
@@ -39,14 +39,24 @@ services:
|
|||||||
image: gitea/gitea:latest
|
image: gitea/gitea:latest
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
# environment:
|
||||||
|
# - USER_UID=1000
|
||||||
|
# - USER_GID=1000
|
||||||
|
# - DB_TYPE=sqlite3 # Use PostgreSQL for production
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- GITEA__database__DB_TYPE=sqlite3
|
||||||
- USER_GID=1000
|
- GITEA__server__DOMAIN=gitea.local
|
||||||
- DB_TYPE=sqlite3 # Use PostgreSQL for production
|
- 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:
|
volumes:
|
||||||
- ./data/gitea:/data
|
- ./data/gitea:/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
ports:
|
||||||
|
- '3000:3000'
|
||||||
networks:
|
networks:
|
||||||
- gitea-net
|
- gitea-net
|
||||||
deploy:
|
deploy:
|
||||||
|
|||||||
Reference in New Issue
Block a user