Updating deps

This commit is contained in:
Shadchamp
2025-08-29 18:15:16 -04:00
parent c5a31be447
commit cbd4d3f2c8
4 changed files with 9 additions and 9 deletions

1
.gitignore vendored
View File

@@ -62,3 +62,4 @@ stash-box-config.yml
# TODO - we'll add this in later
vendor
docker/production/.env

View File

@@ -0,0 +1,3 @@
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=stash-box

View File

@@ -1,16 +1,12 @@
version: '3.8'
services:
postgres:
container_name: postgres
build: ./postgres
restart: always
environment:
POSTGRES_USER: <USER>
POSTGRES_PASSWORD: <PASSWORD>
POSTGRES_DB: <DATABASE>
env_file:
- .env
volumes:
- /pgdata:/var/lib/postgresql/data
- ./pgdata:/var/lib/postgresql/data
stash-box:
container_name: stash-box
@@ -24,7 +20,7 @@ services:
links:
- postgres
volumes:
- <CONFIG_DIR>:/root/.stash-box
- ./config:/root/.stash-box
labels:
- traefik.http.routers.stash-box.rule=Host(`<DOMAIN>`)
- traefik.http.routers.stash-box.tls=true

View File

@@ -1,6 +1,6 @@
FROM postgres:14.2
RUN buildDeps='git make gcc postgresql-server-dev-14' \
RUN buildDeps='git make gcc postgresql-server-dev-14 clang-11' \
&& apt update && apt install -y $buildDeps --no-install-recommends --reinstall ca-certificates \
&& git clone https://github.com/fake-name/pg-spgist_hamming.git \
&& make -C pg-spgist_hamming/bktree \