In the beginning there was darkness
This commit is contained in:
parent
872e471525
commit
ed72bfaa70
|
@ -0,0 +1,12 @@
|
||||||
|
ARG postgres_version=15
|
||||||
|
ARG pg_cron_version=1.4.2
|
||||||
|
ARG confbase=/var/db/postgres/data${postgres_version}/postgresql.conf
|
||||||
|
CONFIG set allow.sysvipc 1
|
||||||
|
RESTART
|
||||||
|
PKG postgresql${postgres_version}-server postgresql${postgres_version}-contrib
|
||||||
|
SYSRC postgresql_enable=YES
|
||||||
|
SERVICE postgresql start
|
||||||
|
CMD [ ! -d "/var/db/postgres/data${postgres_version}" ] && /usr/local/etc/rc.d/postgresql initdb
|
||||||
|
CMD chown -R postgres /var/db/postgres && chmod -R 750 /var/db/postgres
|
||||||
|
SERVICE postgresql restart
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
||||||
Copyright (c) <year> <owner>. All rights reserved.
|
Copyright (c) 2022 Daniel Ziltener. All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue