Added immich, outline
This commit is contained in:
@@ -0,0 +1,96 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
immich-server:
|
||||||
|
container_name: immich_server
|
||||||
|
image: altran1502/immich-server:release
|
||||||
|
entrypoint: ["/bin/sh", "./start-server.sh"]
|
||||||
|
volumes:
|
||||||
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
- database
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
immich-microservices:
|
||||||
|
container_name: immich_microservices
|
||||||
|
image: altran1502/immich-server:release
|
||||||
|
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
||||||
|
volumes:
|
||||||
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
- database
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
immich-machine-learning:
|
||||||
|
container_name: immich_machine_learning
|
||||||
|
image: altran1502/immich-machine-learning:release
|
||||||
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
|
volumes:
|
||||||
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
|
depends_on:
|
||||||
|
- database
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
immich-web:
|
||||||
|
container_name: immich_web
|
||||||
|
image: altran1502/immich-web:release
|
||||||
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
redis:
|
||||||
|
container_name: immich_redis
|
||||||
|
image: redis:6.2
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
database:
|
||||||
|
container_name: immich_postgres
|
||||||
|
image: postgres:14
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
|
environment:
|
||||||
|
PG_DATA: /var/lib/postgresql/data
|
||||||
|
volumes:
|
||||||
|
- /mnt/SSD500/docker/immich/pgsql:/var/lib/postgresql/data
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
immich-proxy:
|
||||||
|
container_name: immich_proxy
|
||||||
|
image: altran1502/immich-proxy:release
|
||||||
|
environment:
|
||||||
|
# Make sure these values get passed through from the env file
|
||||||
|
- IMMICH_SERVER_URL
|
||||||
|
- IMMICH_WEB_URL
|
||||||
|
logging:
|
||||||
|
driver: none
|
||||||
|
depends_on:
|
||||||
|
- immich-server
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
- reverse-proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
internal:
|
||||||
|
internal: true
|
||||||
|
reverse-proxy:
|
||||||
|
external: true
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
kopia:
|
||||||
|
image: kopia/kopia:latest
|
||||||
|
container_name: kopia
|
||||||
|
restart: unless_stopped
|
||||||
|
environment:
|
||||||
|
- KOPIA_PASSWORD=aCjn8zF9UymiavFSAfrwM7NuLpuYaXbMe34WXiFXVn2qBJA33a
|
||||||
|
volumes:
|
||||||
|
- /mnt/SSD500/docker/kopia/config:/app/config
|
||||||
|
- /mnt/SSD500/docker/kopia/cache:/app/cache
|
||||||
|
- /mnt/SSD500/docker/kopia/rclone:/app/rclone
|
||||||
|
networks:
|
||||||
|
- reverse-proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
reverse-proxy:
|
||||||
|
external: true
|
||||||
@@ -0,0 +1,82 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
|
||||||
|
outline:
|
||||||
|
image: outlinewiki/outline
|
||||||
|
container_name: outline
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
- redis
|
||||||
|
environment:
|
||||||
|
SECRET_KEY: ${SECRET_KEY}
|
||||||
|
UTILS_SECRET: ${UTILS_SECRET}
|
||||||
|
DATABASE_URL: ${DATABASE_URL}
|
||||||
|
DATABASE_URL_TEST: ${DATABASE_URL_TEST}
|
||||||
|
REDIS_URL: ${REDIS_URL}
|
||||||
|
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
|
||||||
|
AWS_S3_UPLOAD_BUCKET_URL: ${AWS_S3_UPLOAD_BUCKET_URL}
|
||||||
|
AWS_S3_UPLOAD_BUCKET_NAME: ${AWS_S3_UPLOAD_BUCKET_NAME}
|
||||||
|
AWS_S3_ACL: ${AWS_S3_ACL}
|
||||||
|
FORCE_HTTPS: ${FORCE_HTTPS}
|
||||||
|
ENABLE_UPDATES: ${ENABLE_UPDATES}
|
||||||
|
WEB_CONCURRENCY: ${WEB_CONCURRENCY}
|
||||||
|
MAXIMUM_IMPORT_SIZE: ${MAXIMUM_IMPORT_SIZE}
|
||||||
|
DEBUG: ${DEBUG}
|
||||||
|
DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE}
|
||||||
|
OIDC_CLIENT_ID: ${OIDC_CLIENT_ID}
|
||||||
|
OIDC_CLIENT_SECRET: ${OIDC_CLIENT_SECRET}
|
||||||
|
OIDC_AUTH_URI: ${OIDC_AUTH_URI}
|
||||||
|
OIDC_TOKEN_URI: ${OIDC_TOKEN_URI}
|
||||||
|
OIDC_USERINFO_URI: ${OIDC_USERINFO_URI}
|
||||||
|
OIDC_DISPLAY_NAME: ${OIDC_DISPLAY_NAME}
|
||||||
|
OIDC_SCOPES: ${OIDC_SCOPES}
|
||||||
|
PGSSLMODE: "disable"
|
||||||
|
PORT: 3000
|
||||||
|
URL: "https://outline.lino.cooking"
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
- reverse-proxy
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis
|
||||||
|
container_name: outline-redis
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /mnt/SSD500/docker/outline/redis.conf:/redis.conf
|
||||||
|
command: ["redis-server", "/redis.conf"]
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 30s
|
||||||
|
retries: 3
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: postgres
|
||||||
|
container_name: outline-postgres
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /mnt/SSD500/docker/outline/db:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 20s
|
||||||
|
retries: 3
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: user
|
||||||
|
POSTGRES_PASSWORD: pass
|
||||||
|
POSTGRES_DB: outline
|
||||||
|
PGSSLMODE: "disable"
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
networks:
|
||||||
|
internal:
|
||||||
|
internal: true
|
||||||
|
reverse-proxy:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user