Add files
This commit is contained in:
parent
fadaaaada2
commit
6174022f54
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
data/
|
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user