Archived
Production Hardening (#241)
This commit is contained in:
1 parent
4f0a5376f3
commit
f79bbea7a4
8 files changed
+49
-14
No files matched your search
@@ -18,7 +18,12 @@ RUN apk add --no-cache \
|
||||
# Add wale script
|
||||
COPY setup-wale.sh /docker-entrypoint-initdb.d/
|
||||
|
||||
#Healthcheck to make sure container is ready
|
||||
HEALTHCHECK CMD pg_isready -U postgres || exit 1
|
||||
|
||||
# Add and configure entrypoint and command
|
||||
COPY entrypoint.sh /
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["postgres"]
|
||||
|
||||
VOLUME ["/var/run/postgresql", "/usr/share/postgresql/", "/var/lib/postgresql/data", "/tmp"]
|
||||
Reference in new issue
Block a user