feat: make backend image default to port 80

This commit is contained in:
2025-12-04 12:10:48 +01:00
parent 187b56b464
commit e62fe4c443
2 changed files with 10 additions and 3 deletions

View File

@@ -13,4 +13,6 @@ WORKDIR /app
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer install --no-dev --optimize-autoloader
RUN composer install --no-dev --optimize-autoloader
ENV SERVER_NAME=:80

View File

@@ -37,11 +37,16 @@ services:
DB_USERNAME: root
DB_PASSWORD: admin
ports:
- 443:443
- 443:443/udp
- 8111:80
depends_on:
isop-database:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/api"]
start_period: 10s
interval: 1m
timeout: 5s
retries: 5
isop-database:
container_name: isop-database