Add docker files
This commit is contained in:
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
crossfit-booker:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: crossfit-booker
|
||||
environment:
|
||||
- CROSSFIT_USERNAME=${CROSSFIT_USERNAME}
|
||||
- CROSSFIT_PASSWORD=${CROSSFIT_PASSWORD}
|
||||
- SMTP_SERVER=${SMTP_SERVER}
|
||||
- EMAIL_FROM=${EMAIL_FROM}
|
||||
- EMAIL_TO=${EMAIL_TO}
|
||||
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
|
||||
- TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
|
||||
- TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID}
|
||||
volumes:
|
||||
- ./log:/app/log
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user