Skip to content

Commit aee0883

Browse files
authored
Enhance Docker Compose with logging and volume options
Added logging configuration and updated volume permissions.
1 parent 4d8fb23 commit aee0883

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎.docker/docker-compose.identitylab.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
DataProtection__KeysPath: /app/keys
1919

2020
volumes:
21-
- /opt/identitylab/keys:/app/keys
21+
- /opt/identitylab/keys:/app/keys:Z
2222

2323
networks:
2424
- edge
@@ -27,6 +27,12 @@ services:
2727
security_opt:
2828
- no-new-privileges:true
2929

30+
logging:
31+
driver: json-file
32+
options:
33+
max-size: "10m"
34+
max-file: "3"
35+
3036
networks:
3137
edge:
3238
external: true

0 commit comments

Comments
 (0)