auto commit
This commit is contained in:
parent
9fd71d5eca
commit
eb17648c5c
@ -51,11 +51,10 @@ services:
|
|||||||
- POSTGRES_DB=postgres
|
- POSTGRES_DB=postgres
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
- POSTGRES_PASSWORD=${TIMESCALEDB_PASSWORD}
|
- POSTGRES_PASSWORD=${TIMESCALEDB_PASSWORD}
|
||||||
- TIMESCALEDB_DB=${TIMESCALEDB_DB}
|
- TIMESCALEDB_DB=${TIMESCALEDB_DB:-fems_timeseries}
|
||||||
- TIMESCALEDB_USER=${TIMESCALEDB_USER}
|
- TIMESCALEDB_USER=${TIMESCALEDB_USER:-fems_user}
|
||||||
- TIMESCALEDB_PASSWORD=${TIMESCALEDB_PASSWORD}
|
- TIMESCALEDB_PASSWORD=${TIMESCALEDB_PASSWORD}
|
||||||
- LANG=C.UTF-8
|
- POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256 --auth-local=scram-sha-256
|
||||||
- LC_ALL=C.UTF-8
|
|
||||||
volumes:
|
volumes:
|
||||||
- fems_timescaledb:/var/lib/postgresql/data
|
- fems_timescaledb:/var/lib/postgresql/data
|
||||||
- ./fems-timescaledb/postgresql.conf:/etc/postgresql/postgresql.conf:ro
|
- ./fems-timescaledb/postgresql.conf:/etc/postgresql/postgresql.conf:ro
|
||||||
|
Binary file not shown.
@ -1,16 +1,10 @@
|
|||||||
# fems-timescaledb/pg_hba.conf
|
# fems-timescaledb/pg_hba.conf
|
||||||
|
|
||||||
# TYPE DATABASE USER ADDRESS METHOD
|
# TYPE DATABASE USER ADDRESS METHOD
|
||||||
# "local" is for Unix domain socket connections only
|
# "local" is for Unix domain socket connections only
|
||||||
local all all trust
|
local all all scram-sha-256
|
||||||
# IPv4 local connections:
|
# IPv4 local connections:
|
||||||
host all all 127.0.0.1/32 scram-sha-256
|
host all all 127.0.0.1/32 scram-sha-256
|
||||||
# IPv6 local connections:
|
# IPv6 local connections:
|
||||||
host all all ::1/128 scram-sha-256
|
host all all ::1/128 scram-sha-256
|
||||||
# Allow all connections from Docker network
|
# Allow all connections from anywhere
|
||||||
host all all 172.16.0.0/12 scram-sha-256
|
host all all 0.0.0.0/0 scram-sha-256
|
||||||
host all all 192.168.0.0/16 scram-sha-256
|
|
||||||
host all all 10.0.0.0/8 scram-sha-256
|
|
||||||
# Allow connections from specific users
|
|
||||||
host fems_timeseries fems_user all scram-sha-256
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user