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
dockerfile: Dockerfile
args:
USER_ID: 1000
GROUP_ID: 1000
USERNAME: polo
GROUPNAME: polo
#USARE UN UTENTE DEDICATO CON GUID ALTO, 1000 è usato nell'immagine standard tomcat
USER_ID: 20000
GROUP_ID: 20000
USERNAME: ahi
GROUPNAME: ahi
ports:
- "x009:8009" #inoltro porta ajp, lasciato errato volontariamente
volumes:

View File

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