mirror of
https://codeberg.org/scip/kleingebaeck.git
synced 2025-12-16 20:11:01 +01:00
23 lines
473 B
YAML
23 lines
473 B
YAML
version: "3.9"
|
|
services:
|
|
init:
|
|
image: alpine:latest
|
|
user: "root"
|
|
group_add:
|
|
- '${GROUP_ID}'
|
|
volumes:
|
|
- ${OUTDIR}:/backup
|
|
command: chown -R ${USER_ID}:${USER_ID} /backup
|
|
|
|
kleingebaeck:
|
|
container_name: kleingebaeck
|
|
user: "${USER_ID}:${USER_ID}"
|
|
volumes:
|
|
- ${OUTDIR}:/backup
|
|
working_dir: /backup
|
|
build: .
|
|
image: kleingebaeck:latest
|
|
depends_on:
|
|
init:
|
|
condition: service_completed_successfully
|