Add DB upload flow and Docker deployment setup
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
badminton-match-hub:
|
||||
container_name: badminton-match-hub
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: badminton-match-hub:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3500:3500"
|
||||
environment:
|
||||
PORT: 3500
|
||||
DB_HOST: ${DB_HOST:-192.168.0.15}
|
||||
DB_PORT: ${DB_PORT:-3307}
|
||||
DB_USER: ${DB_USER:-jianmiau}
|
||||
DB_PASSWORD: ${DB_PASSWORD}
|
||||
DB_DATABASE: ${DB_DATABASE:-badminton}
|
||||
DB_TABLE: ${DB_TABLE:-badminton}
|
||||
Reference in New Issue
Block a user