mirror of
https://github.com/Telecominfraproject/openafc_final.git
synced 2025-11-06 21:18:15 +00:00
Migrate final Open AFC Repository
This commit is contained in:
17
bulk_postgres/Dockerfile
Normal file
17
bulk_postgres/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# Copyright (C) 2021 Broadcom. All rights reserved. The term "Broadcom"
|
||||
# refers solely to the Broadcom Inc. corporate affiliate that owns
|
||||
# the software below. This work is licensed under the OpenAFC Project License,
|
||||
# a copy of which is included with this software program
|
||||
#
|
||||
|
||||
# Dockerfile for PostgreSQL+PostGIS server used for ALS log storage
|
||||
|
||||
FROM postgis/postgis:14-3.3
|
||||
|
||||
ENV POSTGRES_PASSWORD=postgres
|
||||
ENV POSTGRES_HOST_AUTH_METHOD=trust
|
||||
ENV AFC_BULKDB_CONNS=${AFC_BULKDB_CONNS:-1000}
|
||||
ENTRYPOINT docker-entrypoint.sh postgres -c max_connections=$AFC_BULKDB_CONNS
|
||||
HEALTHCHECK --start-period=20s --interval=10s --timeout=5s \
|
||||
CMD pg_isready -U postgres || exit 1
|
||||
Reference in New Issue
Block a user