33 Commits

Author SHA1 Message Date
Omar Ahmad
88bed2bc4a Fixing entrypoint dealing with JSON mapping 2020-12-23 13:22:15 -05:00
Omar Ahmad
0ef54cc06b Updating README, adding JSON mapping support for consistency 2020-12-23 13:08:05 -05:00
Omar Ahmad
18e9954d74 Using RQ to change toml and yaml to JSON, removing all python stuff 2020-12-21 19:19:52 -05:00
Omar Ahmad
4f9146b8f8 using tini, functions for most code in entrypoint 2019-09-03 13:15:31 -04:00
Omar Ahmad
4a0d85f51a Adding python conversion for TOML and YAML; slightly more verbose syntax for dockerargs 2019-08-15 10:52:20 -04:00
will Farrell
68fa96e2e8
Merge pull request #25 from sergey-shambir/issue_20
Use another way to ensure docker socket is accessible
2019-03-17 13:10:08 -06:00
will Farrell
945357ce4a
Merge pull request #24 from sergey-shambir/envsubst
Added support for envsubst in image/container name
2019-03-17 13:08:19 -06:00
Sergey Shambir
0a4e3f5753 Use another way to ensure docker socket is accessible
- check if socket group ID is presented in /etc/group
- if presented, just add 'docker' user to this group
- if not, create 'docker' group and add 'docker' user to this group
Fixes issue #20
2019-03-02 16:01:40 +03:00
Sergey Shambir
71661b4971 Added support for envsubst in image/container name
Envsubst allows to use dynamic container name
We use image name env substitution with docker-compose and .env to select right image tag for local development
Within alpine, envsubst installed with gettext package.
2019-03-02 15:49:26 +03:00
iusmac
cba3bcb0d0
Fix issue "ambiguous redirect"
Full error message: "/docker-entrypoint.sh: line 58: ${HOME_DIR}/projects/${SCRIPT_NAME}.sh: ambiguous redirect"

The error appears when in Config.json is present `name` and `container`.
2019-03-01 20:50:12 +01:00
will Farrell
02a89f6dac fix: clean up logic and only apply group if needed 2018-06-30 15:23:27 -06:00
kendokan
b52842b07a
fixed failure if docker group already existed
This error prevents the container from restarting.
2018-01-11 08:13:11 -08:00
Doug Dimick
40b8b93c2a fixed https://github.com/willfarrell/docker-crontab/issues/9 2018-01-09 13:17:49 -08:00
will Farrell
d5f4764d25 Fix #7
slugifys name
2017-11-14 13:54:20 -07:00
will Farrell
61ef1db4bf Change documentation showing seconds in cron schedule in error 2017-10-23 09:45:24 -06:00
James Fielder
a160036ba2 Fix issue where container name issue
Fix issue where docker swarm names are incorrectly generated when project option is set.
2017-10-09 11:03:39 +01:00
will Farrell
017ee7bfc5 change log format 2017-06-21 13:14:00 -06:00
will Farrell
7f801d2d72 document docker error 2017-06-17 20:55:56 -06:00
will Farrell
173b12a96d disable crontab - bugs w/ docker 2017-06-17 20:10:47 -06:00
will Farrell
7b0498ebba allow name param & create logging systems 2017-06-17 19:41:28 -06:00
will Farrell
76675e99d5 bug fix
only first w/ onstart was triggered
2017-04-07 23:25:53 -06:00
will Farrell
c4a114a31c add comments to scripts 2017-02-15 13:42:35 -07:00
will Farrell
8f787586e7 trigger inject fix 2017-02-15 11:23:52 -07:00
will Farrell
0fc4c3fd7a push multi commands to own script 2017-02-15 11:16:11 -07:00
will Farrell
0bbd009e23 dind required to work on debian 2017-02-15 10:58:57 -07:00
will Farrell
30a276774e Add comments stdout 2017-02-15 07:03:07 -07:00
will Farrell
11155c1f47 add ex to docs 2017-02-14 07:44:14 -07:00
will Farrell
c88150ccb2 removed curl + added onstart ability 2017-02-14 07:18:25 -07:00
will Farrell
332af352b9 fix sub script broken quote 2017-02-12 21:37:00 -07:00
will Farrell
5507ffd878 small bug fix 2017-02-12 21:08:45 -07:00
will Farrell
1c73fa9f91 script cleanup 2017-02-12 17:05:46 -07:00
will Farrell
aa36fb61ef remove docker-in-docker - use volumes 2017-02-12 16:57:19 -07:00
will Farrell
53ffb16db5 init commit 2017-02-12 16:28:53 -07:00