mirror of
https://github.com/henry4682/finance_app.git
synced 2026-07-16 00:10:00 +00:00
fix: change docker file name
Some checks failed
Laravel-Oracle-Deploy / redeploy (push) Failing after 3s
Some checks failed
Laravel-Oracle-Deploy / redeploy (push) Failing after 3s
This commit is contained in:
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
finance-backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: finance-laravel-backend
|
||||
restart: always
|
||||
volumes:
|
||||
- .:/var/www
|
||||
ports:
|
||||
- "8000:9000" # 🎯 把主機的 8000 Port 轉給 Laravel
|
||||
environment:
|
||||
- APP_ENV=production
|
||||
- APP_DEBUG=false
|
||||
- DB_CONNECTION=pgsql
|
||||
- DB_HOST=161.118.239.140 # 🎯 直接連到你 1Panel 活著的 PostgreSQL
|
||||
- DB_PORT=5432
|
||||
- DB_DATABASE=postgresql://postgres:[z6KvSxp4WB2mMfDP]@db.ktffdnordbmnaamvqpec.supabase.co:5432/postgres
|
||||
- DB_USERNAME=myfinance_henry4682
|
||||
- DB_PASSWORD=DwmQ78PB
|
||||
networks:
|
||||
- 1Panel-network # 讓它跟你的 1Panel 其他容器處在同一個網路大腦中
|
||||
|
||||
networks:
|
||||
1Panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user