diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index 2c69646998c13..0e87b31872ec5 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -124,7 +124,22 @@ services: interval: 5m start_interval: 30s start_period: 5m - command: [ 'postgres', '-c', 'shared_preload_libraries=vectors.so', '-c', 'search_path="$$user", public, vectors', '-c', 'logging_collector=on', '-c', 'max_wal_size=2GB', '-c', 'shared_buffers=512MB', '-c', 'wal_compression=on' ] + command: + [ + 'postgres', + '-c', + 'shared_preload_libraries=vectors.so', + '-c', + 'search_path="$$user", public, vectors', + '-c', + 'logging_collector=on', + '-c', + 'max_wal_size=2GB', + '-c', + 'shared_buffers=512MB', + '-c', + 'wal_compression=on', + ] # set IMMICH_METRICS=true in .env to enable metrics # immich-prometheus: # container_name: immich_prometheus diff --git a/docs/docs/developer/setup.md b/docs/docs/developer/setup.md index afec13a1d7119..93e3c1494adce 100644 --- a/docs/docs/developer/setup.md +++ b/docs/docs/developer/setup.md @@ -46,8 +46,9 @@ All the services will be started with hot-reloading enabled for a quick feedback You can access the web from `http://your-machine-ip:2283` or `http://localhost:2283` and access the server from the mobile app at `http://your-machine-ip:2283/api` **Notes:** - - The "web" development container runs with uid 1000. If that uid does not have read/write permissions on the mounted volumes, you may encounter errors - - In case of rootless docker setup, you need to use root within the container, otherwise you will encounter read/write permission related errors, see comments in `docker/docker-compose.dev.yml`. + +- The "web" development container runs with uid 1000. If that uid does not have read/write permissions on the mounted volumes, you may encounter errors +- In case of rootless docker setup, you need to use root within the container, otherwise you will encounter read/write permission related errors, see comments in `docker/docker-compose.dev.yml`. #### Connect web to a remote backend