feat(env): ✨ time
This commit is contained in:
parent
89a2edb0ee
commit
a8cae44946
3
.env
3
.env
@ -5,3 +5,6 @@ GITEA__database__HOST=
|
||||
GITEA__database__NAME=
|
||||
GITEA__database__USER=
|
||||
GITEA__database__PASSWD=
|
||||
|
||||
TZ=Asia/Shanghai
|
||||
TERM=xterm-256color
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
# deploy
|
||||
/data
|
||||
/gitea
|
@ -2,21 +2,25 @@ version: "3"
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
name: gitea
|
||||
driver:
|
||||
bridge
|
||||
external: false
|
||||
|
||||
services:
|
||||
server:
|
||||
gitea:
|
||||
image: gitea/gitea:dev
|
||||
container_name: gitea
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
USER_UID: 1000
|
||||
USER_GID: 1000
|
||||
TZ:
|
||||
TERM:
|
||||
restart: always
|
||||
networks:
|
||||
- gitea
|
||||
volumes:
|
||||
- ${DIR:-.}/gitea/data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "1080:3000"
|
||||
|
Loading…
Reference in New Issue
Block a user