Compare commits
4 Commits
f1a7aec073
...
6a1ff78ad0
Author | SHA1 | Date | |
---|---|---|---|
6a1ff78ad0 | |||
eb1a5f23d6 | |||
0c591cbe2f | |||
b45f3cfc93 |
16
.drone.yml
Normal file
16
.drone.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: pepebot_build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build-main
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: dutchellie.nl
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: dutchellie.nl/dutchellie/pepebot
|
||||||
|
tags:
|
||||||
|
- latest
|
@ -1,37 +1,36 @@
|
|||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
container_name: pepebot_server
|
container_name: pepebot_server
|
||||||
image: dutchellie/pepebot
|
image: dutchellie.nl/dutchellie/pepebot
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
environment:
|
environment:
|
||||||
- DB_USER=
|
- DB_USER=changemeusername
|
||||||
- DB_PASS=
|
- DB_PASS=changemepassword
|
||||||
- DISCORD_TOKEN=
|
- DISCORD_TOKEN=<discord token>
|
||||||
- RATE_LIMIT=
|
- RATE_LIMIT=2 # 2 Actions per TIME_LIMIT
|
||||||
- TIME_LIMIT=
|
- TIME_LIMIT=5 # Per second
|
||||||
- PEPE_SERVER=
|
- PEPE_SERVER=pepe_service:4000
|
||||||
db:
|
db:
|
||||||
container_name: pepebot_database
|
container_name: pepebot_database
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD:
|
MYSQL_ROOT_PASSWORD: changeme
|
||||||
MYSQL_DATABASE:
|
MYSQL_DATABASE: pepebot
|
||||||
MYSQL_USER:
|
MYSQL_USER: changemeusername
|
||||||
MYSQL_PASSWORD:
|
MYSQL_PASSWORD: changemepassword
|
||||||
volumes:
|
volumes:
|
||||||
- pepe_db_data:/var/lib/mysql
|
- pepe_db_data:/var/lib/mysql
|
||||||
pepe_service:
|
pepe_service:
|
||||||
container_name: pepebot_service
|
container_name: pepebot_service
|
||||||
image: dutchellie/pepebot_service:latest
|
image: dutchellie.nl/dutchellie/pepebot_service:latest
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- PEPE_DIR=/pepe/1.00
|
- PEPE_DIR=/pepe/1.00
|
||||||
volumes:
|
volumes:
|
||||||
- /your/pepe/folder:/pepe #edit this
|
- /your/pepe/folder:/pepe #edit this
|
||||||
volumes:
|
volumes:
|
||||||
pepe_db_data: {}
|
pepe_db_data: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user