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
|
919ef8e557
|
remove delayed job code from admin etc
|
2024-04-18 11:58:04 +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
|
c38b50a0ba
|
use db: prepare:with_data in dev
to replicate #1820
|
2024-02-05 10:49:45 +00:00 |
|
James Smith
|
f2f6dff131
|
clear old jobs on docker start
|
2023-08-09 22:54:28 +01:00 |
|
James Smith
|
764b46050c
|
run setup script from dev script
|
2023-07-06 11:31:07 +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
|
5307b1e0a3
|
set up jsbundling-rails
|
2022-08-02 15:00:36 +01:00 |
|
James Smith
|
5bbe73340c
|
remove webpacker
|
2022-08-02 15:00:36 +01:00 |
|
James Smith
|
cdb9ffd52c
|
add data migrations using data-migrate gem
|
2022-06-14 22:33:57 +01:00 |
|
James Smith
|
46f9d69af6
|
rails 7 app update
|
2022-06-12 23:08:34 +01:00 |
|
James Smith
|
e7982c1f88
|
Add delayed_job and configure it
|
2021-03-30 23:28:31 +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 |
|
James Smith
|
7bc89d0df7
|
new rails app woohoo
Generated with railsnew.io:
`rails new van_dam --skip-action-mailbox --skip-action-text --skip-system-test --skip-test --template https://www.railsbytes.com/script/zyvso6`
|
2021-01-30 18:23:33 +00:00 |
|