update docker compose

This commit is contained in:
root 2026-01-31 11:05:55 +00:00
parent b89c909a95
commit ad825cdffd
1 changed files with 10 additions and 4 deletions

View File

@ -3,19 +3,25 @@ services:
image: serversideup/php:8.2-fpm-nginx image: serversideup/php:8.2-fpm-nginx
container_name: flodo-app container_name: flodo-app
restart: unless-stopped restart: unless-stopped
network_mode: host ports:
- "8081:8080"
environment: environment:
- APP_ENV=production - APP_ENV=production
- APP_DEBUG=false - APP_DEBUG=false
- WEBROOT=/var/www/html/public - WEBROOT=/var/www/html/public
- PHP_OPEN_BASEDIR=/var/www/html/:/tmp/:/usr/bin/
- PUID=33 - PUID=33
- PGID=33 - PGID=33
- PORT=8081
- FPM_PORT=9001
volumes: volumes:
- /www/wwwroot/flodo.web.id:/var/www/html:ro - /www/wwwroot/flodo.web.id:/var/www/html:ro
- /www/wwwroot/flodo.web.id/storage:/var/www/html/storage:rw - /www/wwwroot/flodo.web.id/storage:/var/www/html/storage:rw
- /www/wwwroot/flodo.web.id/bootstrap/cache:/var/www/html/bootstrap/cache:rw - /www/wwwroot/flodo.web.id/bootstrap/cache:/var/www/html/bootstrap/cache:rw
networks:
- jembatan_flodo_bpbd
networks:
jembatan_flodo_bpbd:
external: true
name: bpbd_laravel-network