-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add editable and non editable mode for ribot-controller backenc
- Loading branch information
1 parent
ecf56be
commit 93b36c2
Showing
17 changed files
with
94 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,40 @@ | ||
# ESP32 | ||
export ESP_WIFI_SSID=ssid | ||
export ESP_WIFI_PASSWORD=password | ||
export ESP_WIFI_SSID=PALVI | ||
export ESP_WIFI_PASSWORD=Palvi.1400 | ||
export ESP_CONTROLLER_SERVER_HOST=backend | ||
export ESP_CONTROLLER_SERVER_PORT=8500 | ||
export ESP_FLASH_PORT= | ||
|
||
# CONTROLLER DEFAULT SETTINGS | ||
CONTROLLER_WEBSOCKET_PORT=8600 | ||
CONTROLLER_SERVER_PORT=8500 | ||
|
||
CONTROLLER_PRINT_STATUS=false | ||
|
||
# ---PDM CONTROLLER PUBLISH SETTINGS | ||
CONTROLLER_PDM_PUBLISH_USERNAME=__token__ | ||
CONTROLLER_PDM_PUBLISH_PASSWORD=token_here | ||
CONTROLLER_PDM_PUBLISH_PASSWORD=tokenhere! | ||
CONTROLLER_PDM_OVERRIDE_VERSION=None | ||
CONTROLLER_PDM_INCREMENT_VERSION=false | ||
|
||
# BACKEND | ||
BACKEND_HTTP_PORT=8000 | ||
|
||
|
||
# BACKEND | ||
BACKEND_HTTP_PORT=5000 | ||
BACKEND_UPDATE_RIBOT_CONTROLLER=false | ||
|
||
# FRONT | ||
VITE_BACKEND_URL=http://localhost:8000 | ||
VITE_BACKEND_URL=http://localhost:5000 | ||
VITE_ARM_SIMULATION_WEBSOCKET_PORT=8600 | ||
VITE_ARM_SIMULATION_WEBSOCKET_HOST=localhost | ||
VITE_ARM_SIMULATION_URL=http://localhost:8080 | ||
|
||
|
||
|
||
# ARM_SIMULATION | ||
ARM_SIMULATION_PORT=8080 | ||
|
||
# Docker compose debug buid | ||
export COMPOSE_DOCKER_CLI_BUILD=1 | ||
export DOCKER_BUILDKIT=1 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.pdm-python | ||
controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
.pdm-python | ||
|
||
certs | ||
site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM nginx:1.25-alpine | ||
|
||
COPY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: '3.8' | ||
|
||
services: | ||
nginx: | ||
build: . | ||
ports: | ||
- "80:80" | ||
- "443:443" | ||
volumes: | ||
- ./certs:/etc/letsencrypt | ||
- ./site:/var/www/html | ||
depends_on: | ||
- certbot | ||
|
||
certbot: | ||
image: certbot/certbot | ||
volumes: | ||
- ./certs:/etc/letsencrypt | ||
- ./site:/var/www/html | ||
entrypoint: /bin/sh -c | ||
command: > | ||
'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;' | ||
fastapi: | ||
image: your-fastapi-image | ||
# Define your FastAPI service configuration here | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters