Skip to content

Commit

Permalink
chore: fix auto versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Jan 15, 2025
1 parent 19aef00 commit 0e17878
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,15 @@ services:
max-size: "10m"
max-file: "3"
volumes:
- ./logs:/var/log
- ./logs/federation-server:/var/log
user: root
entrypoint: >
/bin/sh -c "
chown -R 1002:0 /var/log /app &&
chmod -R 755 /var/log /app &&
exec chroot --userspec=1002:0 / java -jar /app/federation-server.jar"
networks:
- openid_network

admin-server:
image: sphereon/openid-federation-admin-server:latest
build:
Expand Down Expand Up @@ -131,11 +136,14 @@ services:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
- ./logs:/var/log
user: "1002:0"
command: [ "java", "-jar", "/app/admin-server.jar" ]
- ./logs/admin-server:/var/log
user: root
entrypoint: >
/bin/sh -c "
chown -R 1002:0 /var/log /app &&
chmod -R 755 /var/log /app &&
exec chroot --userspec=1002:0 / java -jar /app/admin-server.jar"
keycloak:
image: keycloak/keycloak:26.0
user: keycloak
Expand Down

0 comments on commit 0e17878

Please sign in to comment.