Verified Commit 2da29dc6 authored by GeloMyrtol's avatar GeloMyrtol

added env vars to docker-compose

fixes #178
parent 90f3eb22
version: "3"
services:
gmb:
build: .
image: gmb
container_name: bot_gmb
restart: unless-stopped
volumes:
- ./config:/gmb/config
# - ./config:/gmb/config
- ./out:/gmb/out
- ./status:/gmb/status
network_mode: "host"
environment:
- PYTHONUNBUFFERED=1
- TOKEN=299184608:AAGzJeGNsmiKgN4XoxYaYeBeK-5k-GEooEw
- MYSQL_DB_HOST=127.0.0.1
- MYSQL_DB_USERNAME=gmbuser
- MYSQL_DB_PASSWORD=geheim
- MYSQL_DB_DATABASE=gmb
- MYSQL_TEST_DB_HOST=127.0.0.1
- MYSQL_TEST_DB_USERNAME=gmbuser
- MYSQL_TEST_DB_PASSWORD=geheim
- MYSQL_TEST_DB_DATABASE=gmbtest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment