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__NAME=
|
||||||
GITEA__database__USER=
|
GITEA__database__USER=
|
||||||
GITEA__database__PASSWD=
|
GITEA__database__PASSWD=
|
||||||
|
|
||||||
|
TZ=Asia/Shanghai
|
||||||
|
TERM=xterm-256color
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
# deploy
|
# deploy
|
||||||
/data
|
/data
|
||||||
|
/gitea
|
@ -2,21 +2,25 @@ version: "3"
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
gitea:
|
gitea:
|
||||||
|
name: gitea
|
||||||
|
driver:
|
||||||
|
bridge
|
||||||
external: false
|
external: false
|
||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
gitea:
|
||||||
image: gitea/gitea:dev
|
image: gitea/gitea:dev
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
USER_UID: 1000
|
||||||
- USER_GID=1000
|
USER_GID: 1000
|
||||||
|
TZ:
|
||||||
|
TERM:
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
volumes:
|
volumes:
|
||||||
- ${DIR:-.}/gitea/data:/data
|
- ${DIR:-.}/gitea/data:/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- "1080:3000"
|
- "1080:3000"
|
||||||
|
Loading…
Reference in New Issue
Block a user