initial commit
This commit is contained in:
parent
c5c44fd41f
commit
c7350d4c0b
3 changed files with 29 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
# ignore files that should not be gitted
|
||||
.env
|
||||
data
|
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- DB_TYPE=postgres
|
||||
- DB_NAME=gitea
|
||||
- DB_USER=gitea
|
||||
- "DB_HOST=${DB_HOST}"
|
||||
- "DB_PASSWD=${DB_PASSWD}"
|
||||
- RUN_MODE=dev
|
||||
- DOMAIN=gitea.auro.re
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
3
env.example
Normal file
3
env.example
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Copy this as .env and make it only readable by root
|
||||
DB_HOST=CHANGE ME
|
||||
DB_PASSWD=CHANGE ME
|
Loading…
Reference in a new issue