numerique-gouv / impress

MIT License
10 stars 2 forks source link

🧑‍💻Add conf ngnix for upload in dev mode #203

Closed AntoLC closed 2 weeks ago

AntoLC commented 3 weeks ago

Feature Request

Add conf ngnix for upload with local dev mode working with docker-compose.

We have 2 ways to develop in local mode, with Tilt (k8s stack) and with docker-compose (docker-compose stack), the upload image process works with Tilt but not with the docker-compose stack.

Code

On Tilt dev: https://github.com/numerique-gouv/impress/blob/67a20f249e33ffbea326f2be825e085847c34331/src/helm/env.d/dev/values.impress.yaml.gotmpl#L107-L119

Adapt this file to use the same conf: https://github.com/numerique-gouv/impress/blob/main/docker/files/etc/nginx/conf.d/default.conf


See: #118