Compare commits
2 Commits
8ca8225122
...
b509a852f1
Author | SHA1 | Date | |
---|---|---|---|
b509a852f1 | |||
3dd2d168b2 |
@ -1,11 +1,12 @@
|
|||||||
import subprocess
|
import subprocess
|
||||||
import os
|
import os
|
||||||
from run_command import run_command
|
from run_command import run_command
|
||||||
|
from get_path import get_path
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
docker_compose_file = os.getenv(
|
docker_compose_file = os.getenv(
|
||||||
"DOCKER_COMPOSE_FILE", "$WEBSCRAPER/app/docker-compose.yaml"
|
"DOCKER_COMPOSE_FILE", f"{get_path()}/app/docker-compose.yaml"
|
||||||
)
|
)
|
||||||
service_name = os.getenv("SERVICE_NAME", "webscraper")
|
service_name = os.getenv("SERVICE_NAME", "webscraper")
|
||||||
script_name = os.getenv("SCRIPT_NAME", "main.py")
|
script_name = os.getenv("SCRIPT_NAME", "main.py")
|
||||||
|
Loading…
Reference in New Issue
Block a user