made architecture
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/compose.override.yml
|
||||
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./app .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
CMD ["python", "-u", "main.py"]
|
||||
13
Makefile
Normal file
13
Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
up:
|
||||
@docker compose up -d
|
||||
|
||||
up-build:
|
||||
@docker compose up -d --build
|
||||
|
||||
down:
|
||||
@docker compose down
|
||||
|
||||
restart: down up
|
||||
|
||||
logs:
|
||||
@docker compose logs zeus-filter -f
|
||||
1
app/main.py
Normal file
1
app/main.py
Normal file
@@ -0,0 +1 @@
|
||||
print("hello")
|
||||
1
app/requirements.txt
Normal file
1
app/requirements.txt
Normal file
@@ -0,0 +1 @@
|
||||
ics==0.7.2
|
||||
5
compose.yml
Normal file
5
compose.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
services:
|
||||
zeus-filter:
|
||||
build: .
|
||||
container_name: zeus-filter
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user