Use docker container with ip4r installed (#698)

* Use docker container with ip4r installed

* Credit source

---------

Co-authored-by: ekzyis <ek@stacker.news>
This commit is contained in:
ekzyis 2023-12-19 16:52:09 +01:00 committed by GitHub
parent 6682817578
commit bfcca7d34e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

6
db/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
# https://github.com/JonasProgrammer/docker-postgres-ip4r
FROM postgres:13.2
RUN apt-get update \
&& apt-get install --no-install-recommends -y postgresql-13-ip4r \
&& rm -rf /var/lib/apt/lists/*

View File

@ -2,7 +2,7 @@ version: "3"
services:
db:
container_name: db
image: postgres:13.2
build: ./db
restart: always
expose:
- "5432"