Commit Graph

9 Commits

Author SHA1 Message Date
Earlopain
7304559c52
[DB] Make the port configurable 2023-03-14 00:27:43 +01:00
Earlopain
257e717e56
[README] Document windows executable bit issues
This also adds/removes +x on a few files which should/shouldn't have it.
2023-03-04 14:20:39 +01:00
Earlopain
6776704560
[DB] Upgrade to postgres 15
Execute the following commands, before pulling:
docker-compose up -d
docker-compose exec postgres pg_dump danbooru2 -U danbooru > backup.sql
docker-compose down
docker volume rm e621ng_db_data

Execute the following commands, after pulling:
docker-compose up -d
docker-compose exec -T postgres psql -d e621_development -U e621 < backup.sql

This also changes the name of the database and role.
Now seems like a nice opportunity to do so.
2023-03-01 20:31:49 +01:00
Earlopain
acbe23981b
[DB] Only evaluate prod config on prod
Fixup for b43f0cbbb0
2023-02-28 15:48:42 +01:00
Earlopain
b43f0cbbb0
[DB] Loudly fail on prod when DB env variables aren't set 2023-02-28 15:38:34 +01:00
Earlopain
09be4cded9
[CI] Commit database.yml
Makes the test setup easier.
Also eases prod deploys with the two separate db pool sizes.
2023-02-25 14:41:07 +01:00
Robin Liao
0a8f55ba78 Should be checking a template file rather than the yaml file into the repo 2011-03-29 10:16:56 -07:00
Albert Yi
3bfae1f0db added user test, basic user methods 2010-02-06 16:48:40 -05:00
Albert Yi
9bb07046cd initial 2010-02-04 15:08:49 -05:00