Georges-Antoine Assi
ecc021e824
Merge branch 'master' into calc-file-hashes-roms
2024-07-27 12:17:18 -04:00
Zurdi
4872141de1
fixed scrappers assets on build
2024-07-08 16:30:23 +02:00
Michael Manganiello
7611e57811
misc: Fix FromAsCasing warning during Docker build
...
Fix recently introduced `FromAsCasing` [1] Docker build check.
[1] https://docs.docker.com/reference/build-checks/from-as-casing/
2024-07-06 20:37:41 -03:00
Zurdi
7c39d211fb
fixed dockerfile for arm64
2024-07-06 23:59:52 +02:00
Georges-Antoine Assi
0546cee67d
Merge branch 'master' into fix/improve-docker-layer-caching-on-frontend-changes
2024-06-23 10:24:02 -04:00
Michael Manganiello
32ef612b0a
fix: Improve Docker layer caching on frontend changes
...
Avoid any changes in the `frontend/` folder to trigger `npm install`.
Instead, split the copies to have separate steps for install and build.
2024-06-22 20:29:52 -03:00
Michael Manganiello
0daa708a05
misc: Simplify backend environment configuration in Docker image
...
This change moves the virtualenv creation in the `Dockerfile` to a
separate stage, to simplify isolating the process and reduce the need
for uninstalling build dependencies.
The approach is similar to the one explained in [1]. It relies on
building a virtualenv folder, and copying it in the final stage.
Changing the `PATH` environment variable makes the virtualenv usable by
default, without affecting the default Python installation.
Also, added Dockerfile arguments for Alpine, nginx, and Python versions,
as some of them are reused, and also simplifies testing new versions.
An extra side effect is that the image size for the final stage is
reduced from 315MB to 262MB.
[1] https://scribe.rip/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0
2024-06-22 18:19:16 -03:00
Georges-Antoine Assi
b16c58e4bb
update redis build and update nginx
2024-06-21 13:03:50 -04:00
Georges-Antoine Assi
896cb57420
Install redis instead of building it
2024-06-21 12:48:42 -04:00
Georges-Antoine Assi
eb2778086f
changes from self review
2024-06-02 23:22:14 -04:00
Georges-Antoine Assi
05a4c42f78
Merge branch 'master' into trunk-io
2024-05-31 23:37:54 -04:00
Georges-Antoine Assi
c4ef4d92d2
run truck fixes
2024-05-31 19:00:04 -04:00
Georges-Antoine Assi
9b62641d55
Merge branch 'master' into trunk-io
2024-05-31 18:42:43 -04:00
Georges-Antoine Assi
381f13e4b9
more tweaking
2024-05-31 18:30:42 -04:00
Georges-Antoine Assi
0efbd9f113
label final stage
2024-05-31 18:11:17 -04:00
Georges-Antoine Assi
ed68c01fe2
ask chatgpt
2024-05-31 18:05:13 -04:00
Zurdi
44f10a560c
Solve merge into release conflicts
2024-05-31 16:46:35 +02:00
Georges-Antoine Assi
ca1363a93c
run chech
2024-05-23 10:14:04 -04:00
Georges-Antoine Assi
10479bdc9f
run formatter
2024-05-23 10:06:43 -04:00
Georges-Antoine Assi
fcb34f9088
Merge branch 'master' into trunk-io
2024-05-23 10:06:13 -04:00
Georges-Antoine Assi
b2085f87a8
bunch of fixes for trunk
2024-05-21 17:10:11 -04:00
Georges-Antoine Assi
a7cf0d389a
run trunk format on all files
2024-05-21 10:18:13 -04:00
Georges-Antoine Assi
e72a1d8851
Merge branch 'master' into platform-fetch-perf-improvements
2024-05-19 14:28:53 -04:00
Georges-Antoine Assi
66510c0327
Improve fetch times of platforms endpoint
2024-05-18 17:24:07 -04:00
Georges-Antoine Assi
880345f20c
ruff-only pre-commit
2024-05-18 12:05:57 -04:00
Georges-Antoine Assi
07dc02aa6a
typo
2024-04-28 13:27:00 +00:00
Georges-Antoine Assi
2baa5f2fec
Merge branch 'gunicorn-socket-handling' of github.com:zurdi15/romm into gunicorn-socket-handling
2024-04-28 13:10:56 +00:00
Georges-Antoine Assi
f2f2b3b0cd
clear leftover pid files
2024-04-28 09:10:10 -04:00
Georges-Antoine Assi
2407e83e1a
only wait when creating nginx
2024-04-26 13:09:23 +00:00
Georges-Antoine Assi
f98bbf183e
dont create the file manually
2024-04-26 13:05:51 +00:00
Georges-Antoine Assi
138b75c698
handle gunicorn socket creation manually
2024-04-26 08:53:31 -04:00
Georges-Antoine Assi
bae407a40d
running as non-root user
2024-03-27 01:22:51 +00:00
Georges-Antoine Assi
4863b80eb3
tweak startup text
2024-03-25 22:08:32 +00:00
Psych0D0g
072acb9fec
only print patience log one
2024-03-25 23:03:23 +01:00
Psych0D0g
680f2b239d
add a log line to ask for patience
2024-03-25 23:02:36 +01:00
Psych0D0g
a06ccb5324
move sleep to the beginning of our while true loop to save innocent CPUs from overheating in case of errornous behaviour
2024-03-25 22:52:10 +01:00
Georges-Antoine Assi
369ab47736
get rid of logs volume
2024-03-25 17:30:38 -04:00
Psych0D0g
de6838df85
make gunicorn log access and error logs to stdout
2024-03-25 22:20:25 +01:00
Psych0D0g
22f8b6115e
remove uvicorn function from init
2024-03-25 22:00:49 +01:00
Psych0D0g
dd428e0af9
switch to gunicorn for handling backend app
2024-03-25 21:56:31 +01:00
Psych0D0g
8f5536c69b
switch to gunicorn for handling backend app
2024-03-25 21:56:19 +01:00
Georges-Antoine Assi
41d0d2eb46
more dir creating up in dockerfile + add redis password
2024-03-25 15:30:27 +00:00
zurdi
208239b51b
fixed REDIS_HOST check
2024-03-25 10:46:28 +01:00
Georges-Antoine Assi
49bafe5ab0
just set it to 777
2024-03-25 04:18:02 +00:00
Georges-Antoine Assi
c8dc872a0d
remove from init script and use user docker attr
2024-03-24 23:23:10 -04:00
Georges-Antoine Assi
1c7621c4b2
Hotifx PUID/GUID changes in init script
2024-03-24 22:53:54 -04:00
zurdi
b2392d0acc
replaced old zurdi15/romm url to rommapp/romm
2024-03-25 02:49:08 +01:00
Georges-Antoine Assi
f259e1b1d0
fix scanning after socketio upgrade
2024-03-18 09:47:15 -04:00
Georges-Antoine Assi
be553d5524
add shadow to set ownership
2024-03-18 02:53:27 +00:00
Georges-Antoine Assi
faaa81995c
fix building image
2024-03-18 02:06:07 +00:00