Docker image #42
|
@ -1 +1,8 @@
|
|||
RSSBOT_TG_TOKEN=1234567890:yourbotstoken
|
||||
RSSBOT_TG_TOKEN=1234567890:yourbotstoken
|
||||
|
||||
# Optional variables
|
||||
# RSSBOT_DSN=xxx
|
||||
# POSTGRES_USER=xxx
|
||||
# POSTGRES_PASSWORD=xxx
|
||||
# POSTGRES_DB=xxx
|
||||
# LOG_LEVEL=xxx
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -5,8 +5,5 @@
|
|||
/.venv
|
||||
/__pycache__
|
||||
|
||||
# Database
|
||||
/*.db
|
||||
|
||||
# Environment
|
||||
skobkin marked this conversation as resolved
|
||||
.env
|
|
@ -2,6 +2,7 @@ version: '3.7'
|
|||
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
image: miroslavsckaya/tg_rss_bot
|
||||
environment:
|
||||
# DSN schema: postgres://username:password@hostname/database_name
|
||||
|
@ -24,8 +25,8 @@ services:
|
|||
- "POSTGRES_PASSWORD=${BOT_DB_PASSWORD:-dev}"
|
||||
- "POSTGRES_DB=${BOT_DB_NAME:-bot}"
|
||||
volumes:
|
||||
- postgres_bot_db:/var/lib/postgresql/data
|
||||
- db-data:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
skobkin marked this conversation as resolved
skobkin
commented
`db-data` maybe?
|
||||
postgres_bot_db:
|
||||
db-data:
|
||||
|
|
Loading…
Reference in a new issue
Missing EOL (
\n
) on the last line