1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-03-13 01:30:11 +01:00

Merge remote-tracking branch 'refs/remotes/origin/master'

This commit is contained in:
valentina 2025-03-04 10:51:09 +01:00
commit 7fcaae3a4d
3 changed files with 22 additions and 10 deletions

View File

@ -1,5 +1,5 @@
# Usa l'immagine ufficiale di PHP con Apache
FROM php:8.3-apache
FROM php:8.3.17-apache
# Abilita i moduli richiesti
RUN apt-get update && apt-get install -y \
@ -11,7 +11,8 @@ RUN apt-get update && apt-get install -y \
libonig-dev \
unzip \
libxml2-dev \
libxslt-dev \
libxslt-dev \
wget \
git && \
docker-php-ext-install zip mbstring pdo_mysql intl soap curl && \
a2enmod rewrite

View File

@ -3,7 +3,9 @@ name: OSM
services:
openstamanager:
image: devcodesrl/openstamanager:latest
build:
context: .
dockerfile: Dockerfile
container_name: openstamanager
restart: unless-stopped
ports:
@ -26,14 +28,14 @@ services:
container_name: mysql
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: openstamanager
ports:
- "3307:3306"
MYSQL_ROOT_PASSWORD: secret
command:
- --sort_buffer_size=2M
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
volumes:
- db:/var/lib/mysql
volumes:
db:
driver: local
db:

View File

@ -30,7 +30,16 @@ if "%scelta%"=="1" (
echo Avvio dei container in corso...
docker-compose up -d
echo.
echo Container avviati! OpenSTAManager è accessibile su http://localhost:8090
echo ================================
echo Container avviati correttamente!
echo.
echo Accedi a OpenSTAManager:
echo - URL: http://localhost:8090
echo - Host del database: db
echo - Username dell'utente MySQL: root
echo - Password dell'utente MySQL: secret
echo - Nome del database: openstamanager
echo ================================
pause
goto menu
)