feat: db docker and fix git ignore
This commit is contained in:
parent
bc22c73cb2
commit
b57d5aceb6
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
# Configs
|
||||
priceybot2/config/service-acct.json
|
||||
priceybot2/config/db.py
|
||||
priceybot2/config/*
|
||||
!priceybot2/config/*.*.sample
|
||||
docker-config/*
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
|
||||
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
||||
version: "2.1"
|
||||
services:
|
||||
mariadb:
|
||||
image: lscr.io/linuxserver/mariadb:latest
|
||||
container_name: mariadb
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- MYSQL_ROOT_PASSWORD=ROOT_ACCESS_PASSWORD
|
||||
- MYSQL_DATABASE=USER_DB_NAME
|
||||
- MYSQL_USER=MYSQL_USER
|
||||
- MYSQL_PASSWORD=DATABASE_PASSWORD
|
||||
volumes:
|
||||
- ./docker-config:/config
|
||||
ports:
|
||||
- "3306:3306"
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user