James Smith
|
ad0492ea4a
|
enable logging to stdout when running in docker
|
2024-09-17 16:24:50 +01:00 |
|
James Smith
|
90b8acc719
|
Add a stable env var for the rails app port
so that foreman doesn't autoincrement it and we can use it in workers
|
2024-08-02 12:41:43 +01:00 |
|
James Smith
|
1ad0a7be4c
|
make sure sqlite database file permissions are correct
|
2024-07-15 11:06:22 +01:00 |
|
James Smith
|
b3a122934c
|
database.yml can handle glomming together the env vars, we don't need to build a complete URL
|
2024-07-10 10:03:53 +01:00 |
|
James Smith
|
5143101a76
|
add DATABASE_ADAPTER string to DATABASE_URL generation so we can support both
|
2024-07-08 17:48:01 +01:00 |
|
James Smith
|
2135f67615
|
Clean up cache files on app startup
|
2024-06-30 10:46:52 +01:00 |
|
James Smith
|
6860b6e935
|
chown the temp files just before setuid
|
2024-06-27 13:13:12 +01:00 |
|
AneurinPrice
|
b2034f4c59
|
Allow variablisation of the database pool config, non-breaking change
|
2024-06-20 12:18:45 +01:00 |
|
James Smith
|
04ff80953b
|
Make tmp and log writable for PUID
|
2024-06-12 16:36:14 +01:00 |
|
James Smith
|
48960efc0d
|
use s6-setuidgid to apply user/group to app execution
|
2024-06-12 16:35:58 +01:00 |
|
Aneurin Price
|
7ece6cdc88
|
Update docker-entrypoint.sh
Add an export so that this actually works.
|
2024-04-26 20:52:39 +01:00 |
|
James Smith
|
601e699b01
|
remove job clearing in docker start
no need any more with fail-safe jobs
|
2024-04-18 14:01:13 +01:00 |
|
James Smith
|
8c8db0a263
|
alpine uses ash, not bash, so need to change the array format
|
2024-04-09 13:28:13 +01:00 |
|
AneurinPrice
|
e7fa578074
|
Allow for modular setting of database connection string
|
2024-04-03 23:51:25 +01:00 |
|
James Smith
|
f2f6dff131
|
clear old jobs on docker start
|
2023-08-09 22:54:28 +01:00 |
|
James Smith
|
a81eff5fef
|
use db:prepare:with_data to load DB correctly, from forked data_migrate
|
2023-07-01 23:54:25 +01:00 |
|
James Smith
|
7a24b35110
|
remove tmp/pids/server.pid on docker start
See https://stackoverflow.com/a/38732187
|
2023-06-13 22:16:28 +01:00 |
|
James Smith
|
cdb9ffd52c
|
add data migrations using data-migrate gem
|
2022-06-14 22:33:57 +01:00 |
|
James Smith
|
4c15c5832e
|
drop multistage for now so the damn thing works
|
2021-02-19 15:55:16 +00:00 |
|
James Smith
|
f9bd143401
|
add Dockerfile to build, and docker-compose file to run
|
2021-02-15 22:56:53 +00:00 |
|