Add Dockerized local project workflow
This commit is contained in:
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
container_name: hll-vietnam-backend
|
||||
env_file:
|
||||
- ./backend/.env.example
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- ./backend/data:/app/data
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
container_name: hll-vietnam-frontend
|
||||
depends_on:
|
||||
- backend
|
||||
ports:
|
||||
- "8080:8080"
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user