first
This commit is contained in:
35
docker-compose.yml
Normal file
35
docker-compose.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: hafiz_tunggakan_app
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${APP_PORT:-8000}:8000"
|
||||
environment:
|
||||
APP_NAME: "Hafiz Tunggakan"
|
||||
APP_ENV: "${APP_ENV:-production}"
|
||||
APP_KEY: "${APP_KEY:-}"
|
||||
APP_DEBUG: "${APP_DEBUG:-false}"
|
||||
APP_URL: "${APP_URL:-http://localhost:8000}"
|
||||
APP_TIMEZONE: "Asia/Kuala_Lumpur"
|
||||
APP_LOCALE: "ms"
|
||||
APP_FALLBACK_LOCALE: "en"
|
||||
DB_CONNECTION: "mysql"
|
||||
DB_HOST: "172.17.200.16"
|
||||
DB_PORT: "${DB_PORT:-3306}"
|
||||
DB_DATABASE: "${DB_DATABASE:-db_cobol}"
|
||||
DB_USERNAME: "${DB_USERNAME:-root}"
|
||||
DB_PASSWORD: "${DB_PASSWORD:-}"
|
||||
SESSION_DRIVER: "file"
|
||||
CACHE_STORE: "file"
|
||||
QUEUE_CONNECTION: "sync"
|
||||
LOG_CHANNEL: "stderr"
|
||||
RUN_MIGRATIONS: "${RUN_MIGRATIONS:-false}"
|
||||
RUN_SEEDERS: "${RUN_SEEDERS:-false}"
|
||||
volumes:
|
||||
- app_storage:/var/www/html/storage
|
||||
|
||||
volumes:
|
||||
app_storage:
|
||||
Reference in New Issue
Block a user