@ -70,3 +70,5 @@ COPY config.json /gancio/config.json.example
VOLUME ["/data"]
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]
CMD ["start", "--config", "/data/config.json"]
@ -4,7 +4,6 @@ services:
build: .
image: registry.sindominio.net/gancio
container_name: gancio
command: [ "/usr/bin/gancio start --config /data/config.json" ]
user: "$GANCIO_USER_GROUP"
volumes:
- $GANCIO_DATA_PATH:/data/
@ -10,4 +10,4 @@ mkdir -p /data/uploads
# inicia el instalador
[ -s /data/config.json ] || TEMPLATE="/usr/share/local/gancio-installer" gancio-installer
exec $@
exec /usr/bin/gancio $@