mirror of
https://github.com/BillyOutlast/stash-box.git
synced 2026-02-04 02:51:17 +01:00
Updating deps
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -62,3 +62,4 @@ stash-box-config.yml
|
||||
|
||||
# TODO - we'll add this in later
|
||||
vendor
|
||||
docker/production/.env
|
||||
|
||||
3
docker/production/.env.example
Normal file
3
docker/production/.env.example
Normal file
@@ -0,0 +1,3 @@
|
||||
POSTGRES_USER=
|
||||
POSTGRES_PASSWORD=
|
||||
POSTGRES_DB=stash-box
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user