Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
platforms: [linux/arm64]
|
||||
volumes:
|
||||
- sleep_data:/app/data
|
||||
environment:
|
||||
- DATABASE_URL=sqlite+aiosqlite:///./data/sleep.db
|
||||
- CORS_ORIGINS=http://localhost
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
platforms: [linux/arm64]
|
||||
ports:
|
||||
- "80:80"
|
||||
depends_on:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
sleep_data:
|
||||
Reference in New Issue
Block a user