Spaces:
Runtime error
Runtime error
macrdel
commited on
Commit
•
66feea1
1
Parent(s):
027e36f
update workflow
Browse files- .github/workflows/main.yml +1 -1
- docker-compose.yml +1 -1
.github/workflows/main.yml
CHANGED
@@ -62,7 +62,7 @@ jobs:
|
|
62 |
|
63 |
- name: Push application
|
64 |
run: |
|
65 |
-
docker run -d --name app --network example-network --ip 172.16.238.10 -p 8000:8000 macrdel/
|
66 |
|
67 |
- name: Push Prometheus
|
68 |
run: |
|
|
|
62 |
|
63 |
- name: Push application
|
64 |
run: |
|
65 |
+
docker run -d --name app --network example-network --ip 172.16.238.10 -p 8000:8000 macrdel/app:latest uvicorn app.api:app --host 0.0.0.0 --port 8000
|
66 |
|
67 |
- name: Push Prometheus
|
68 |
run: |
|
docker-compose.yml
CHANGED
@@ -63,7 +63,7 @@ services:
|
|
63 |
volumes:
|
64 |
- ./grafana/provisioning:/etc/grafana/provisioning
|
65 |
env_file:
|
66 |
-
- ./grafana/config.monitoring
|
67 |
networks:
|
68 |
example-network:
|
69 |
ipv4_address: 172.16.238.12
|
|
|
63 |
volumes:
|
64 |
- ./grafana/provisioning:/etc/grafana/provisioning
|
65 |
env_file:
|
66 |
+
- ./grafana/provisioning/config.monitoring
|
67 |
networks:
|
68 |
example-network:
|
69 |
ipv4_address: 172.16.238.12
|