feat: add Docker support with Dockerfile and docker-compose, update API URLs to use base_url

This commit is contained in:
2026-03-14 20:56:21 -03:00
parent 6a78cb41d8
commit b6e4aa7622
27 changed files with 110 additions and 25 deletions
@@ -5,7 +5,7 @@ info:
http:
method: POST
url: http://0.0.0.0:8080/api/v1/filaments
url: "{{base_url}}/api/v1/filaments"
body:
type: json
data: |-
@@ -5,7 +5,7 @@ info:
http:
method: DELETE
url: http://0.0.0.0:8080/api/v1/filaments/{{filament_id}}
url: "{{base_url}}/api/v1/filaments/{{filament_id}}"
auth:
type: bearer
token: "{{access_token}}"
@@ -5,7 +5,7 @@ info:
http:
method: GET
url: http://0.0.0.0:8080/api/v1/filaments/{{filament_id}}/label.svg
url: "{{base_url}}/api/v1/filaments/{{filament_id}}/label.svg"
params:
- name: width_mm
value: "80"
@@ -5,7 +5,7 @@ info:
http:
method: GET
url: http://0.0.0.0:8080/api/v1/filaments/{{filament_id}}
url: "{{base_url}}/api/v1/filaments/{{filament_id}}"
auth:
type: bearer
token: "{{access_token}}"
@@ -5,7 +5,7 @@ info:
http:
method: GET
url: http://0.0.0.0:8080/api/v1/filaments/{{filament_id}}/qrcode
url: "{{base_url}}/api/v1/filaments/{{filament_id}}/qrcode"
auth:
type: bearer
token: "{{access_token}}"
@@ -5,7 +5,7 @@ info:
http:
method: GET
url: http://0.0.0.0:8080/api/v1/filaments
url: "{{base_url}}/api/v1/filaments"
params:
- name: page
value: "1"
@@ -5,7 +5,7 @@ info:
http:
method: PUT
url: http://0.0.0.0:8080/api/v1/filaments/{{filament_id}}
url: "{{base_url}}/api/v1/filaments/{{filament_id}}"
body:
type: json
data: |-