This commit is contained in:
LORENZO\pacio 2025-01-23 13:57:54 +01:00
parent c4e1ca04c7
commit 54b1568494
2 changed files with 10 additions and 8 deletions

View File

@ -6,10 +6,11 @@ services:
context: ./tomcat context: ./tomcat
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
USER_ID: 1000 #USARE UN UTENTE DEDICATO CON GUID ALTO, 1000 è usato nell'immagine standard tomcat
GROUP_ID: 1000 USER_ID: 20000
USERNAME: polo GROUP_ID: 20000
GROUPNAME: polo USERNAME: ahi
GROUPNAME: ahi
ports: ports:
- "x009:8009" #inoltro porta ajp, lasciato errato volontariamente - "x009:8009" #inoltro porta ajp, lasciato errato volontariamente
volumes: volumes:

View File

@ -5,10 +5,11 @@ services:
context: ./tomcat context: ./tomcat
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
USER_ID: 1000 #USARE UN UTENTE DEDICATO CON GUID ALTO, 1000 è usato nell'immagine standard tomcat
GROUP_ID: 1000 USER_ID: 20000
USERNAME: polo GROUP_ID: 20000
GROUPNAME: polo USERNAME: ahi
GROUPNAME: ahi
network_mode: host network_mode: host
volumes: volumes:
- ./tomcat/webapps:/usr/local/tomcat/webapps - ./tomcat/webapps:/usr/local/tomcat/webapps