Compare commits
2 Commits
c2ea2cdb39
...
f2bc221663
| Author | SHA1 | Date | |
|---|---|---|---|
|
f2bc221663
|
|||
|
b41a50006b
|
@@ -51,9 +51,7 @@ class BackupManager:
|
|||||||
"""Get all home directories and their owners"""
|
"""Get all home directories and their owners"""
|
||||||
app_dirs = []
|
app_dirs = []
|
||||||
applications_path = Path("/mnt/applications")
|
applications_path = Path("/mnt/applications")
|
||||||
home_path = Path("/home")
|
source_dirs = applications_path.iterdir()
|
||||||
|
|
||||||
source_dirs = itertools.chain(applications_path.iterdir(), home_path.iterdir())
|
|
||||||
|
|
||||||
for app_dir in source_dirs:
|
for app_dir in source_dirs:
|
||||||
if app_dir == "lost+found":
|
if app_dir == "lost+found":
|
||||||
|
|||||||
@@ -64,8 +64,10 @@ services:
|
|||||||
outline_postgres:
|
outline_postgres:
|
||||||
image: postgres:16.3-bookworm
|
image: postgres:16.3-bookworm
|
||||||
container_name: outline_postgres
|
container_name: outline_postgres
|
||||||
|
user: "{{ user_create_result.uid }}:{{ user_create_result.group }}"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
- "/etc/passwd:/etc/passwd:ro"
|
||||||
- "{{ postgres_data_dir }}:/var/lib/postgresql/data"
|
- "{{ postgres_data_dir }}:/var/lib/postgresql/data"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: '{{ outline_postgres_user }}'
|
POSTGRES_USER: '{{ outline_postgres_user }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user