Commit Graph

22 Commits

Author SHA1 Message Date
Jeremy Chabernaud
4d9a5fdaad
fix: PyYAML dependency install (check #183) (temporary) (#272)
* fix: PyYAML dependency install (check #183)

* misc: update gh-actions (versions, and add temporary patch)

* misc: revert to python 3.9
2023-07-18 07:45:05 -04:00
Sérgio
7c5888179c
Add fallback to PORT in healthcheck (#249) 2023-01-20 07:01:18 -08:00
havk
2de0b9b9e1
Update poetry version in Dockerfile (#240) 2022-11-07 08:50:12 -08:00
Fidel Ramos
96c9c0feec
Fix SQLite support (#210)
SQLite DB was not writable because it was always located in
/usr/src/shynet/, which is owned by root and not writable by
appuser. SQLite needs the parent directory containing the DB file to be
writable by the running user.

The applied fix is to place the DB file in /var/local/shynet/db and to
create that directory in the Docker image with the right permissions.

SQLite setup is now documented in README as an alternative to Postgres.
2022-05-24 12:38:27 -07:00
R. Miles McCain
aed88b7c9a Use Alpine 3.14 2021-12-31 13:26:57 -05:00
R. Miles McCain
1fd46b019c
Lessen priorities on field buttons (#182)
* Lessen priorities on field buttons

* Use latest alpine
2021-12-31 12:11:03 -05:00
JuniorJPDJ
53bc690435
fix(docker): healthcheck (#175)
fixes healthcheck for $ALLOWED_HOSTS longer than 2 domains
2021-09-30 16:12:57 -07:00
JuniorJPDJ
04120323a6
feat(docker): healthcheck (#166) 2021-09-16 13:35:38 -07:00
R. Miles McCain
73f3513dfe
Use Poetry, not Pipenv 2021-07-20 04:51:13 +00:00
Casper Verswijvelt
6621625d90 Multi arch docker build 2021-04-26 17:36:38 +02:00
R. Miles McCain
93d4ee5241
Use specific version of pipenv in dockerfile 2020-06-28 17:56:09 +00:00
R. Miles McCain
bb0dc2e90f
Remove all external dependencies 2020-06-28 02:58:49 +00:00
Alexandre Bulté
affcb893fa
Add timeout to curl / geoip (#50)
W/o timeout, if the download is unresponsive it can be a pain on some environments (eg `dokku`) because the build hangs forever.
2020-06-18 14:00:06 -04:00
R. Miles McCain
e030807acb
Fix GeoIP2 license keys 2020-06-18 16:46:39 +00:00
R. Miles McCain
fcfbbe8809
Remove confusing setup variables; migrate to commands. 2020-05-28 21:47:17 +00:00
R. Miles McCain
364ec655a0
Improve build process 2020-05-03 10:41:14 -04:00
Windyo
4737aa1295 Optimized Docker Image
Changed to Alpine
Optimized Docker Layers
2020-05-02 23:14:30 +02:00
Windyo
6fa67f0531 Docker-Compose Single-Run
Add firstrun checks

Avoids running commands on firstrun
Add Docker-compose file

allows setup in a single docker-compose up command
Updated Readme re: docker-compose

Added stub detailing how to use the compose file.
Update README.md
Changed Entrypoint

Moved sanity checks to their own script, changed entrypoint logic
updated entrypoint
2020-04-30 22:59:22 +02:00
R. Miles McCain
579c162365
Fix builds & add better logging 2020-04-14 16:41:00 -04:00
R. Miles McCain
19fed23ed6
Compile messages 2020-04-14 16:17:26 -04:00
R. Miles McCain
4041c3256d
Add more complete containerization 2020-04-14 14:57:27 -04:00
R. Miles McCain
db6dee5d69
Containerize 2020-04-14 10:55:01 -04:00