diff options
author | Yorhel <git@yorhel.nl> | 2019-07-17 16:25:21 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-07-17 16:30:18 +0200 |
commit | 0455e42fe95404c998c560b13d4022b0fe097f4e (patch) | |
tree | 3ea4d7fa3ce3f902e07e8ecb2115db1b608be746 /data/config_example.pl | |
parent | 7e95323045b559bbbb637ffd2cf045e15241450d (diff) |
Docker: Store Postgres DB in data/ + simplify the setup a bit
I initially wanted to move the static/.. files onto the Docker volume,
so that all dynamic site data is stored in a single place. But that
turned out to be impossible to do without some really ugly hacks. So
instead I went with the opposite approach: get rid of the 'vndb-data'
volume and instead store everything in the source directory. This also
requires running PostgreSQL as the 'devuser', but that's fine for a
development setup. All of this makes it more obvious what is going on
and simplifies the init script.
Diffstat (limited to 'data/config_example.pl')
-rw-r--r-- | data/config_example.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/config_example.pl b/data/config_example.pl index dd2fb9db..52482ad8 100644 --- a/data/config_example.pl +++ b/data/config_example.pl @@ -6,7 +6,7 @@ package VNDB; %O = ( %O, db_login => [ 'dbi:Pg:dbname=vndb', 'vndb_site', 'vndb_site' ], - logfile => $ROOT.'/err.log', + #logfile => $ROOT.'/err.log', xml_pretty => 0, log_queries => 0, debug => 1, |