diff --git a/skeleton/Dockerfile b/skeleton/Dockerfile index 82da968..49bd740 100644 --- a/skeleton/Dockerfile +++ b/skeleton/Dockerfile @@ -8,4 +8,4 @@ COPY . . RUN pip install . VOLUME config -CMD [ "python", "/usr/local/bin/discover_mastodon_servers.py", "--config", "/config/config.conf" ] +CMD [ "python", "/usr/local/bin/__project_codename__.py", "--config", "/config/config.conf" ] diff --git a/skeleton/config/config.conf_sample b/skeleton/config/config.conf_sample new file mode 100644 index 0000000..0fb3cb3 --- /dev/null +++ b/skeleton/config/config.conf_sample @@ -0,0 +1,3 @@ +debug_level='DEBUG' +log_file='/config/__project_codename__.log' +# list_of_parameters=['foo', 'bar'] diff --git a/skeleton/podman_build.sh b/skeleton/podman_build.sh index 88395b3..ad2fa30 100755 --- a/skeleton/podman_build.sh +++ b/skeleton/podman_build.sh @@ -1,2 +1,2 @@ #!/bin/sh -podman build -t discovery-mastodon-servers . +podman build -t __project_codename__ . diff --git a/skeleton/podman_run.sh b/skeleton/podman_run.sh index 000564e..e08f742 100755 --- a/skeleton/podman_run.sh +++ b/skeleton/podman_run.sh @@ -1,2 +1,2 @@ #!/bin/sh -podman run --mount type=bind,src=config/,target=/config -t --rm --name discovery-mastodon-servers discovery-mastodon-servers +podman run --mount type=bind,src=config/,target=/config -t --rm --name __project_codename__ __project_codename__