1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

Add Podman Support (#278)

This commit is contained in:
Alex 2022-06-29 21:49:35 -05:00 committed by GitHub
parent 142ede350e
commit 5e281b44e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View file

@ -22,9 +22,9 @@ server {
location /api { location /api {
# Compression # Compression
gzip_static on; gzip_static on;
gzip_min_length 1000; gzip_min_length 1000;
gzip_comp_level 2; gzip_comp_level 2;
proxy_buffering off; proxy_buffering off;
proxy_buffer_size 16k; proxy_buffer_size 16k;
@ -41,17 +41,17 @@ server {
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_set_header Host $host; proxy_set_header Host $host;
rewrite /api/(.*) /$1 break; rewrite /api/(.*) /$1 break;
proxy_pass http://immich-server:3000; proxy_pass http://immich-server:3001;
} }
location / { location / {
# Compression # Compression
gzip_static on; gzip_static on;
gzip_min_length 1000; gzip_min_length 1000;
gzip_comp_level 2; gzip_comp_level 2;
proxy_buffering off; proxy_buffering off;
proxy_buffer_size 16k; proxy_buffer_size 16k;

View file

@ -15,7 +15,7 @@ async function bootstrap() {
app.useWebSocketAdapter(new RedisIoAdapter(app)); app.useWebSocketAdapter(new RedisIoAdapter(app));
await app.listen(3000, () => { await app.listen(3001, () => {
if (process.env.NODE_ENV == 'development') { if (process.env.NODE_ENV == 'development') {
Logger.log('Running Immich Server in DEVELOPMENT environment', 'ImmichServer'); Logger.log('Running Immich Server in DEVELOPMENT environment', 'ImmichServer');
} }

View file

@ -8,7 +8,7 @@ async function bootstrap() {
app.useWebSocketAdapter(new RedisIoAdapter(app)); app.useWebSocketAdapter(new RedisIoAdapter(app));
await app.listen(3000, () => { await app.listen(3002, () => {
if (process.env.NODE_ENV == 'development') { if (process.env.NODE_ENV == 'development') {
Logger.log('Running Immich Microservices in DEVELOPMENT environment', 'ImmichMicroservice'); Logger.log('Running Immich Microservices in DEVELOPMENT environment', 'ImmichMicroservice');
} }