Commit Graph

16 Commits

Author SHA1 Message Date
Alexis Couvreur
ccf0829274 feat(docker): add default config file 2022-11-11 17:00:35 -05:00
Alexis Couvreur
2e1f2914a9 fix: inject release version inside docker image 2022-11-11 17:00:35 -05:00
Alexis Couvreur
98023a853a feat(config): add --configFile argument to specify custom config file
It will also look by default to `/etc/sablier/` then `$XDG_CONFIG_HOME` then `$HOME/.config/` and then `.`.

Closes #91
2022-11-11 17:00:35 -05:00
Alexis Couvreur
23f7626f6b fix(docker): run container as root by default
To access the docker socket you need to be root or in the docker group.

The GID changes from one machine to the other.

For now the image will be running as root.
2022-10-04 19:06:00 +00:00
Alexis Couvreur
65e98dcac2 build(docker): use Makefile build directive inside Dockerfile 2022-10-04 14:40:28 +00:00
Alexis Couvreur
0daddf377c feat: add new cli system (#51) 2022-10-03 20:27:14 +00:00
Alexis Couvreur
551a146d94 feat: merge service repository into Sablier
Add plugins folder to integrate with multiple reverse proxies

The project is now released as 'Sablier'
2022-10-03 20:27:06 +00:00
Alexis Couvreur
3eb7d480da feat: add persistent storage (#30)
* refactor: remove unused default timeout

* feat: add persistent storage

Allows you to save the state to a file and load it upon restarting the app to restore the previous state.

* chore: upgrade to go 1.18

* use tinykv with generics

* build: add "-buildvcs=false" flag

Git is not available in golang:1.18-alpine image
2022-07-23 12:53:23 -04:00
Alexis Couvreur
a127a0fc86 feat: add multiplatform docker image build (#18)
The build is very slow for some reason. ~15mins
2021-10-01 23:19:33 +02:00
Alexis COUVREUR
e11151c08f ci(docker): expose port 10000 2021-09-28 14:21:55 +02:00
Alexis Couvreur
033f125a5b feat(docker): use ENTRYPOINT for go executable 2021-09-26 14:06:47 +00:00
Alexis Couvreur
c96482ef67 feat: add docker classic support (#9)
Defaults with docker swarm support for retro compatibiliy.
You can add --swarmMode=false to deactivate it.

Closes #4
2021-09-26 00:36:45 +02:00
Alexis Couvreur
f051238f41 Changed image to work 2020-10-21 20:27:13 +02:00
Alexis Couvreur
105e7b6a83 Added executable entrypoint 2020-10-21 20:02:58 +02:00
Alexis Couvreur
2ca72df567 Fix build path 2020-10-21 19:56:12 +02:00
Alexis Couvreur
c733adca93 Added github action build multi arch 2020-10-21 12:57:00 +02:00