Skip to content

Commit bb5a851

Browse files
committed
fix(database): link error
1 parent eb99ebd commit bb5a851

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# How to Contribute
1+
# Contributing to Drycc
22

33
This project is part of Drycc. You can find the latest contribution
4-
guidelines [at the Drycc project](https://github.com/drycc/drycc/blob/main/CONTRIBUTING.md).
5-
4+
guidelines [in our documentation](https://www.drycc.cc/docs/workflow/contributing/overview/).

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ ENV PG_MAJOR=15 \
77
PG_MINOR=3 \
88
PYTHON_VERSION="3.11"
99

10-
ENV PGDATA /data/${PG_MAJOR}
10+
ENV HOME /data
11+
ENV PGDATA $HOME/$PG_MAJOR
1112

1213
RUN install-packages gcc \
1314
&& install-stack python $PYTHON_VERSION \
@@ -33,7 +34,7 @@ RUN install-packages gcc \
3334
&& mkdir -p /usr/share/man/man{1..8} \
3435
&& mkdir -p $PGDATA \
3536
&& groupadd postgres && useradd -g postgres postgres \
36-
&& chown -R postgres:postgres /data
37+
&& chown -R postgres:postgres $HOME
3738

3839
USER postgres
3940
ENTRYPOINT ["init-stack", "/entrypoint.sh"]

MAINTAINERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Drycc Maintainers
22

33
This project is part of Drycc. The official maintainers documentation is
4-
located [in the main project](https://github.com/drycc/drycc/blob/main/MAINTAINERS.md).
4+
located [in our documentation](http://www.drycc.cc/contributing/maintainers/).

0 commit comments

Comments
 (0)