Files
kleingebaeck/docker-compose.yaml

23 lines
473 B
YAML
Raw Permalink Normal View History

2024-01-17 13:58:09 +01:00
version: "3.9"
services:
init:
image: alpine:latest
user: "root"
group_add:
- '${GROUP_ID}'
volumes:
2024-01-17 14:15:46 +01:00
- ${OUTDIR}:/backup
2024-01-17 13:58:09 +01:00
command: chown -R ${USER_ID}:${USER_ID} /backup
kleingebaeck:
container_name: kleingebaeck
user: "${USER_ID}:${USER_ID}"
volumes:
2024-01-17 14:15:46 +01:00
- ${OUTDIR}:/backup
2024-01-17 13:58:09 +01:00
working_dir: /backup
build: .
image: kleingebaeck:latest
depends_on:
init:
condition: service_completed_successfully