78 lines
1.9 KiB
YAML
78 lines
1.9 KiB
YAML
#### NETWORKS
|
|
networks:
|
|
back_network:
|
|
driver: bridge
|
|
attachable: true
|
|
|
|
#### SERVICES
|
|
services:
|
|
## immich-server
|
|
immich-server:
|
|
container_name: immich_server
|
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
|
command: [ "start.sh", "immich" ]
|
|
volumes:
|
|
- /home/ubuntu/docker/immich/upload:/usr/src/app/upload
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- 2283:3001
|
|
depends_on:
|
|
- redis
|
|
- postgres
|
|
restart: always
|
|
|
|
## immich-microservices:
|
|
immich-microservices:
|
|
container_name: immich-immich_microservices
|
|
hostname: immich-immich_microservices
|
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
|
extends:
|
|
file: hwaccel.yml
|
|
service: hwaccel
|
|
command: [ "start.sh", "microservices" ]
|
|
volumes:
|
|
- /home/ubuntu/docker/immich/upload:/usr/src/app/upload
|
|
env_file:
|
|
- .env
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
restart: always
|
|
|
|
immich-machine-learning:
|
|
container_name: immich-machine-learning
|
|
hostname: immich-machine-learning
|
|
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
|
volumes:
|
|
- /home/ubuntu/docker/immich/model-cache:/cache
|
|
env_file:
|
|
- .env
|
|
restart: always
|
|
|
|
## Redis
|
|
redis:
|
|
container_name: immich-redis
|
|
hostname: immich-redis
|
|
image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
|
|
restart: always
|
|
|
|
### postgres
|
|
postgres:
|
|
container_name: guacamole-postgres
|
|
hostname: guacamole-postgres
|
|
environment:
|
|
PGDATA: /var/lib/postgresql/data/immich
|
|
POSTGRES_DB: guacamole_db
|
|
POSTGRES_PASSWORD: 'P@ssword!Here!123456'
|
|
POSTGRES_USER: guacamole_user
|
|
TZ: Europe/Paris
|
|
image: postgres:15.6-alpine
|
|
networks:
|
|
- back_network
|
|
restart: always
|
|
volumes:
|
|
- ./data:/var/lib/postgresql/data:rw
|
|
|
|
|