initial server stuff
This commit is contained in:
37
potato.yaml
Normal file
37
potato.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
services:
|
||||
proxy:
|
||||
container_name: traefik
|
||||
image: traefik
|
||||
web:
|
||||
build: ./foundry-manager
|
||||
command: ["npm", "run", "dev"]
|
||||
ports:
|
||||
- 5173:5173
|
||||
- 8080:8080
|
||||
develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: ./foundry-manager/src
|
||||
target: /app/src
|
||||
- action: rebuild
|
||||
path: ./foundry-manager/package.json
|
||||
- action: rebuild
|
||||
path: ./foundry-manager/Dockerfile
|
||||
- action: restart
|
||||
path: compose.yaml
|
||||
api:
|
||||
build: ./server
|
||||
command: ["flask", "--app", "./src/main", "--debug", "run", "--host=0.0.0.0"]
|
||||
ports:
|
||||
- 5000:5000
|
||||
develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: ./server/src
|
||||
target: /app/src
|
||||
- action: rebuild
|
||||
path: ./server/requirements.txt
|
||||
- action: rebuild
|
||||
path: ./server/Dockerfile
|
||||
- action: rebuild
|
||||
path: ./server/compose.yaml
|
||||
Reference in New Issue
Block a user