Compare commits

..

No commits in common. "6a1ff78ad08207e815bb7af8c0b05cb716492a79" and "f1a7aec0732bcdd6b3fd18e6e874b3d8ec2a7fb2" have entirely different histories.

2 changed files with 34 additions and 49 deletions

View File

@ -1,16 +0,0 @@
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

View File

@ -1,32 +1,33 @@
version: "3.7"
services:
app:
container_name: pepebot_server
image: dutchellie.nl/dutchellie/pepebot
image: dutchellie/pepebot
restart: always
depends_on:
- db
environment:
- DB_USER=changemeusername
- DB_PASS=changemepassword
- DISCORD_TOKEN=<discord token>
- RATE_LIMIT=2 # 2 Actions per TIME_LIMIT
- TIME_LIMIT=5 # Per second
- PEPE_SERVER=pepe_service:4000
- DB_USER=
- DB_PASS=
- DISCORD_TOKEN=
- RATE_LIMIT=
- TIME_LIMIT=
- PEPE_SERVER=
db:
container_name: pepebot_database
image: mysql:8.0
restart: always
environment:
MYSQL_ROOT_PASSWORD: changeme
MYSQL_DATABASE: pepebot
MYSQL_USER: changemeusername
MYSQL_PASSWORD: changemepassword
MYSQL_ROOT_PASSWORD:
MYSQL_DATABASE:
MYSQL_USER:
MYSQL_PASSWORD:
volumes:
- pepe_db_data:/var/lib/mysql
pepe_service:
container_name: pepebot_service
image: dutchellie.nl/dutchellie/pepebot_service:latest
image: dutchellie/pepebot_service:latest
restart: always
environment:
- PEPE_DIR=/pepe/1.00