gavodachs / docker-dachs

Docker image for GAVO DaCHS
https://hub.docker.com/r/gavodachs/dachs/
GNU General Public License v2.0
8 stars 7 forks source link

Set dachs:latest to auto-start postgres/dachs #16

Open chbrandt opened 2 years ago

chbrandt commented 2 years ago

Currently, during initialization, dachs just prints a help message and keeps waiting for users to start/run the services on their own (https://github.com/gavodachs/docker-dachs/blob/40cc3874845dc2395a610c30a04441389af83030/dockerfiles/dachs/Dockerfile#L91).

Suce behavior is welcome when a simple docker run is used, but we can do better -- ie, start the services automatically -- when using docker-compose (through command).

kidpixo commented 1 year ago

We can specify a different entrypoint from the dachs/Dockerfile#L91 in docker-compose.yml#L14.

This way docker-compose starts dachs automagically, but running the image alone makes possible to validate & ingest the data.

chbrandt commented 1 year ago

Good point @kidpixo . Do you happen to have a couple of cycles to do it? 🤞