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:
parent
6682817578
commit
bfcca7d34e
6
db/Dockerfile
Normal file
6
db/Dockerfile
Normal 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/*
|
@ -2,7 +2,7 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
container_name: db
|
container_name: db
|
||||||
image: postgres:13.2
|
build: ./db
|
||||||
restart: always
|
restart: always
|
||||||
expose:
|
expose:
|
||||||
- "5432"
|
- "5432"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user