diff options
-rw-r--r-- | .env.example | 1 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | docker-compose.yaml | 8 |
3 files changed, 10 insertions, 0 deletions
diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..df77b80 --- /dev/null +++ b/.env.example | |||
@@ -0,0 +1 @@ | |||
TG_TOKEN=12345:abcdefg | |||
@@ -1,4 +1,5 @@ | |||
1 | __pycache__/ | 1 | __pycache__/ |
2 | .env | ||
2 | .idea/ | 3 | .idea/ |
3 | *.png | 4 | *.png |
4 | *.jpg | 5 | *.jpg |
diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..3e959bf --- /dev/null +++ b/docker-compose.yaml | |||
@@ -0,0 +1,8 @@ | |||
1 | version: "3" | ||
2 | services: | ||
3 | bot: | ||
4 | build: . | ||
5 | container_name: instasize_bot | ||
6 | restart: always | ||
7 | environment: | ||
8 | - TG_TOKEN=${TG_TOKEN} | ||