revert
This commit is contained in:
parent
a3bb5db8a1
commit
8d71c4bf32
23
Dockerfile
23
Dockerfile
@ -1,20 +1,11 @@
|
||||
#FROM gitea/gitea:1.14.5
|
||||
#
|
||||
#WORKDIR /app
|
||||
#
|
||||
#COPY run.sh ./
|
||||
#
|
||||
#ENV GITEA_CUSTOM=/var/lib/gitea/custom
|
||||
#
|
||||
#RUN chmod +x ./run.sh
|
||||
#
|
||||
#ENTRYPOINT ["./run.sh"]
|
||||
|
||||
|
||||
FROM gitea/gitea:1.14.5
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./data /var/lib/gitea
|
||||
COPY ./config /etc/gitea
|
||||
COPY run.sh ./
|
||||
|
||||
EXPOSE 3000 2222
|
||||
ENV GITEA_CUSTOM=/var/lib/gitea/custom
|
||||
|
||||
RUN chmod +x ./run.sh
|
||||
|
||||
ENTRYPOINT ["./run.sh"]
|
||||
|
22
heroku.yml
22
heroku.yml
@ -1,18 +1,12 @@
|
||||
build:
|
||||
docker:
|
||||
web: Dockerfile
|
||||
|
||||
run:
|
||||
web: /usr/bin/entrypoint /bin/s6-svscan /etc/s6
|
||||
|
||||
setup:
|
||||
addons:
|
||||
- plan: heroku-postgresql
|
||||
as: DATABASE
|
||||
# config:
|
||||
# POSTGRES_USER: "gitea"
|
||||
# POSTGRES_PASSWORD: "gitea"
|
||||
# POSTGRES_DB: "gitea"
|
||||
|
||||
env:
|
||||
GITEA__database__DB_TYPE: postgres
|
||||
GITEA__database__HOST: ${DATABASE_URL}
|
||||
GITEA__database__NAME: gitea
|
||||
GITEA__database__USER: gitea
|
||||
GITEA__database__PASSWD: gitea
|
||||
|
||||
build:
|
||||
docker:
|
||||
web: Dockerfile
|
||||
|
Loading…
Reference in New Issue
Block a user