Compare commits
4 Commits
935e745439
...
5721b4514f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5721b4514f | ||
|
|
0b822f745e | ||
|
|
cd79daf119 | ||
|
|
e6d07e9963 |
@@ -47,6 +47,8 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
container_name: immich_redis
|
container_name: immich_redis
|
||||||
image: redis:6.2-alpine
|
image: redis:6.2-alpine
|
||||||
|
volumes:
|
||||||
|
- ./redis:/data
|
||||||
labels:
|
labels:
|
||||||
- "com.centurylinklabs.watchtower.monitor-only=true"
|
- "com.centurylinklabs.watchtower.monitor-only=true"
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
@@ -21,11 +21,11 @@ services:
|
|||||||
- OWNCLOUD_MYSQL_UTF8MB4=true
|
- OWNCLOUD_MYSQL_UTF8MB4=true
|
||||||
- OWNCLOUD_REDIS_ENABLED=true
|
- OWNCLOUD_REDIS_ENABLED=true
|
||||||
- OWNCLOUD_REDIS_HOST=redis
|
- OWNCLOUD_REDIS_HOST=redis
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test: ["CMD", "/usr/bin/healthcheck"]
|
# test: ["CMD", "/usr/bin/healthcheck"]
|
||||||
interval: 30s
|
# interval: 30s
|
||||||
timeout: 10s
|
# timeout: 10s
|
||||||
retries: 5
|
# retries: 5
|
||||||
volumes:
|
volumes:
|
||||||
- ./files:/mnt/data
|
- ./files:/mnt/data
|
||||||
|
|
||||||
|
|||||||
@@ -56,11 +56,11 @@ services:
|
|||||||
- broker
|
- broker
|
||||||
ports:
|
ports:
|
||||||
- 8009:8000
|
- 8009:8000
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8000"]
|
# test: ["CMD", "curl", "-f", "http://localhost:8000"]
|
||||||
interval: 30s
|
# interval: 30s
|
||||||
timeout: 10s
|
# timeout: 10s
|
||||||
retries: 5
|
# retries: 5
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/usr/src/paperless/data
|
- ./data:/usr/src/paperless/data
|
||||||
- media:/usr/src/paperless/media
|
- media:/usr/src/paperless/media
|
||||||
|
|||||||
@@ -4,14 +4,15 @@ services:
|
|||||||
container_name: unifi-db
|
container_name: unifi-db
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data/db
|
- ./data:/data/db
|
||||||
|
- ./data/configdb:/data/configdb
|
||||||
- ./init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
|
- ./init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
|
# test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
|
||||||
interval: 10s
|
# interval: 10s
|
||||||
timeout: 10s
|
# timeout: 10s
|
||||||
retries: 5
|
# retries: 5
|
||||||
start_period: 20s
|
# start_period: 20s
|
||||||
restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
||||||
unifi-network-application:
|
unifi-network-application:
|
||||||
image: lscr.io/linuxserver/unifi-network-application:latest
|
image: lscr.io/linuxserver/unifi-network-application:latest
|
||||||
@@ -30,8 +31,8 @@ services:
|
|||||||
#- MONGO_TLS= #optional
|
#- MONGO_TLS= #optional
|
||||||
#- MONGO_AUTHSOURCE= #optional
|
#- MONGO_AUTHSOURCE= #optional
|
||||||
depends_on:
|
depends_on:
|
||||||
unifi-db:
|
- unifi-db
|
||||||
condition: service_healthy
|
# condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user