initial commit

This commit is contained in:
Solal NATHAN 2020-09-16 13:16:51 +02:00
parent c5c44fd41f
commit c7350d4c0b
3 changed files with 29 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
# ignore files that should not be gitted
.env
data

23
docker-compose.yml Normal file
View 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
View file

@ -0,0 +1,3 @@
# Copy this as .env and make it only readable by root
DB_HOST=CHANGE ME
DB_PASSWD=CHANGE ME