diff --git a/compose.yaml b/compose.yaml index 93b3a165..2481b758 100644 --- a/compose.yaml +++ b/compose.yaml @@ -29,6 +29,7 @@ services: image: ${IMAGE:-quay.io/konveyor/kai}:${TAG:-stable} volumes: - ${PWD}:/podman_compose:rw,z + - ${PWD}/logs:/podman_compose/logs:rw,z,U ports: - "8080:8080" depends_on: @@ -40,6 +41,7 @@ services: image: ${IMAGE:-quay.io/konveyor/kai}:${TAG:-stable} volumes: - ${PWD}:/podman_compose:rw,z + - ${PWD}/logs:/podman_compose/logs:rw,z,U depends_on: - kai_db profiles: diff --git a/logs/.gitignore b/logs/.gitignore new file mode 100644 index 00000000..6a94ef94 --- /dev/null +++ b/logs/.gitignore @@ -0,0 +1,3 @@ +#Allow us to commit the directory but ignore everything in it. +* +!.gitignore