tmp
This commit is contained in:
parent
fab20673c6
commit
bd4d7e08ce
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM gitea/gitea:1.14.5-rootless
|
||||
|
||||
WORKDIR /var/lib/gitea
|
||||
|
||||
USER gitea
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["/usr/local/bin/gitea", "web"]
|
||||
|
21
heroku.yaml
Normal file
21
heroku.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
build:
|
||||
docker:
|
||||
web: Dockerfile
|
||||
|
||||
run:
|
||||
web: |
|
||||
/bin/su-exec gitea /usr/local/bin/gitea web
|
||||
|
||||
setup:
|
||||
addons:
|
||||
- plan: heroku-postgresql
|
||||
as: DATABASE
|
||||
|
||||
env:
|
||||
GITEA__database__DB_TYPE: postgres
|
||||
GITEA__database__HOST: ${DATABASE_HOST}
|
||||
GITEA__database__NAME: ${DATABASE_NAME}
|
||||
GITEA__database__USER: ${DATABASE_USER}
|
||||
GITEA__database__PASSWD: ${DATABASE_PASSWORD}
|
||||
|
||||
PORT: 3000
|
Loading…
Reference in New Issue
Block a user