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