3 ms·
https://unit.nginx.org/howto/docker/#apps-in-a-containerized-unit https://unit.nginx.org/howto/docker/#apps-in-a-containerized... > We’ve mapped the source con
by jonatron 2y ago
https://unit.nginx.org/howto/docker/#apps-in-a-containerized-unit https://unit.nginx.org/howto/docker/#apps-in-a-containerized...
> We’ve mapped the source config/ to /docker-entrypoint.d/ in the container; the official image uploads any .json files found there into Unit’s config section if the state is empty.
- casperb 2y agoI saw that, but I do like to make my own container. So I did roughly the same steps as they do. But it feels complicated.
- jonatron 2y agoCan you copy the official image's script? https://github.com/nginx/unit/blob/0e79d961bb1ea68674961da1703ffedb1ddf6e43/pkg/docker/docker-entrypoint.sh https://github.com/nginx/unit/blob/0e79d961bb1ea68674961da17...