You've already forked isop-mirror
feat: make backend image default to port 80
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user