修正
This commit is contained in:
21
docker-compose.nas.yml
Normal file
21
docker-compose.nas.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: njts-accounting-backend
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
command: uvicorn app.main:app --host 0.0.0.0 --port 8000
|
||||
ports:
|
||||
- "18000:8000"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
DB_HOST: 192.168.0.61
|
||||
DB_PORT: 55432
|
||||
DB_NAME: njts_acct
|
||||
DB_USER: njts_app
|
||||
DB_PASSWORD: njts_app2025
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user