mirror of
https://github.com/lanedirt/AliasVault.git
synced 2025-12-05 19:07:26 -06:00
Use postgres dockerfile for dev db instance
This commit is contained in:
@@ -7,6 +7,9 @@ LABEL org.opencontainers.image.licenses="AGPL-3.0"
|
||||
LABEL org.opencontainers.image.title="AliasVault PostgreSQL"
|
||||
LABEL org.opencontainers.image.description="PostgreSQL database for AliasVault. Part of multi-container setup and can be deployed via install.sh (see docs.aliasvault.net)"
|
||||
|
||||
# Install pigz for parallel compression during database exports
|
||||
RUN apk add --no-cache pigz
|
||||
|
||||
# Add custom PostgreSQL configuration
|
||||
COPY apps/server/Databases/AliasServerDb/postgresql.conf /etc/postgresql/postgresql.conf
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
services:
|
||||
postgres-dev:
|
||||
image: postgres:16-alpine
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: apps/server/Databases/AliasServerDb/Dockerfile
|
||||
image: aliasvault-postgres-dev
|
||||
ports:
|
||||
- "5433:5432"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user