containerize all the project
This commit is contained in:
1 parent
6c5bc375da
commit
87f9cbb863
4 files changed
+35
-18
No files matched your search
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: ./apps/backend
|
||||
dockerfile: Dockerfile
|
||||
container_name: portfolio-backend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- DATA_DIR=/data
|
||||
volumes:
|
||||
- ./data:/data
|
||||
|
||||
frontend-builder:
|
||||
build:
|
||||
context: ./apps/frontend
|
||||
dockerfile: Dockerfile.prod
|
||||
container_name: portfolio-frontend-builder
|
||||
volumes:
|
||||
- /srv/sites/portfolio:/out
|
||||
Reference in new issue
Block a user