postgres test2
This commit is contained in:
parent
03050dd389
commit
b56ac216ce
@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
/bin/true
|
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/execlineb -P
|
|
||||||
|
|
||||||
fdmove -c 2 1
|
|
||||||
s6-setuidgid 5432:5432
|
|
||||||
/usr/bin/postgres -D /var/lib/postgresql
|
|
@ -18,9 +18,9 @@ SCRIPT
|
|||||||
chown postgres:postgres /run/postgresql
|
chown postgres:postgres /run/postgresql
|
||||||
RUN
|
RUN
|
||||||
|
|
||||||
COPY lxc
|
COPY /bin/init.lxc.static
|
||||||
|
|
||||||
MOUNT /srv/postgres/data var/lib/postgresql
|
MOUNT /srv/postgres/data var/lib/postgresql
|
||||||
|
|
||||||
USER 5432 5432
|
USER 5432 5432
|
||||||
CMD s6-svscan /etc/services.d
|
CMD /init.lxc.static -- /usr/bin/postgres -D /var/lib/postgresql
|
||||||
|
Loading…
Reference in New Issue
Block a user