Browse Source

Change: CMD execution

master
Siroco 8 months ago
parent
commit
64e1a6135a
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 2
      Dockerfile
  2. 1
      docker-compose.yml
  3. 2
      entrypoint.sh

2
Dockerfile

@ -70,3 +70,5 @@ COPY config.json /gancio/config.json.example
VOLUME ["/data"]
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]
CMD ["start", "--config", "/data/config.json"]

1
docker-compose.yml

@ -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/

2
entrypoint.sh

@ -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 $@

Loading…
Cancel
Save