Add files

This commit is contained in:
BBaoVanC 2021-08-01 21:17:32 -05:00
parent fadaaaada2
commit 6174022f54
2 changed files with 27 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.env
data/

25
docker-compose.yml Normal file
View File

@ -0,0 +1,25 @@
version: '3'
services:
postgres:
image: postgres:latest
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD
- POSTGRES_DB=giteadb
volumes:
- ./data/postgres:/var/lib/postgresql/data/
- ./data/progs:/progs
restart: always
gitea:
image: gitea/gitea:1
restart: always
volumes:
- ./data/gitea:/data
#- ./data/gitea/work:/data/gitea
#- ./data/gitea:/app
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 127.0.0.1:85:3000
- 22:2222