add pgbouncer
This commit is contained in:
parent
d6e39dae83
commit
fc83fbfa12
13
pgbouncer/Dockerfile
Normal file
13
pgbouncer/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#
|
||||||
|
# Dockerfile
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine:latest
|
||||||
|
MAINTAINER Yann Verry <docker@verry.org>
|
||||||
|
|
||||||
|
|
||||||
|
RUN apk add --no-cache pgbouncer
|
||||||
|
|
||||||
|
USER nobody
|
||||||
|
|
||||||
|
CMD /usr/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini
|
8
pgbouncer/Makefile
Normal file
8
pgbouncer/Makefile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
all: pull build
|
||||||
|
|
||||||
|
|
||||||
|
pull:
|
||||||
|
docker pull alpine:latest
|
||||||
|
|
||||||
|
build:
|
||||||
|
docker build --no-cache=true -t pgbouncer .
|
Loading…
Reference in a new issue