Skip to content

Commit

Permalink
test-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pontussjostedt committed Nov 7, 2024
1 parent a38f3d0 commit 47f033d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions docker-compose.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ services:
immich-server:
container_name: immich_server
image: '${IMAGE_NAME}-server'
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
DB_DATABASE_NAME: ${DB_DATABASE_NAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
UPLOAD_LOCATION: ${UPLOAD_LOCATION}
DB_DATA_LOCATION: ${DB_DATA_LOCATION}
IMMICH_VERSION: ${IMMICH_VERSION}

# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
Expand All @@ -17,8 +26,6 @@ services:
volumes:
- ${UPLOAD_LOCATION}/photos:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
ports:
- 2283:2283
depends_on:
Expand Down
11 changes: 9 additions & 2 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ services:
immich-server:
container_name: immich_server
image: '${IMAGE_NAME}-server'
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
DB_DATABASE_NAME: ${DB_DATABASE_NAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
UPLOAD_LOCATION: ${UPLOAD_LOCATION}
DB_DATA_LOCATION: ${DB_DATA_LOCATION}
IMMICH_VERSION: ${IMMICH_VERSION}

# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
Expand All @@ -17,8 +26,6 @@ services:
volumes:
- ${UPLOAD_LOCATION}/photos:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
ports:
- 2283:2283
depends_on:
Expand Down

0 comments on commit 47f033d

Please sign in to comment.