feat: Add Dockerfile and Docker Compose configuration for containerized deployment and update README with instructions.
This commit is contained in:
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
blog:
|
||||
build: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- PORT=3000
|
||||
- DATABASE_URL=sqlite:///app/data.db
|
||||
volumes:
|
||||
- ./data.db:/app/data.db
|
||||
- ./attachments:/app/attachments
|
||||
restart: always
|
||||
Reference in New Issue
Block a user