Ethan Lane
c706737369
#1 Reviewed-on: https://gitea.vylpes.xyz/External/card-drop/pulls/7 Co-authored-by: Ethan Lane <ethan@vylpes.com> Co-committed-by: Ethan Lane <ethan@vylpes.com>
31 lines
No EOL
594 B
YAML
31 lines
No EOL
594 B
YAML
version: "3.9"
|
|
|
|
volumes:
|
|
prod_database_data:
|
|
|
|
services:
|
|
# discord:
|
|
# build: .
|
|
|
|
database:
|
|
image: mysql/mysql-server
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
restart: always
|
|
environment:
|
|
- MYSQL_DATABASE=carddrop
|
|
- MYSQL_USER=prod
|
|
- MYSQL_PASSWORD=prod
|
|
- MYSQL_ROOT_PASSWORD=root
|
|
- MYSQL_ROOT_HOST=0.0.0.0
|
|
ports:
|
|
- "3321:3306"
|
|
volumes:
|
|
- prod_database_data:/var/lib/mysql
|
|
|
|
phpmyadmin:
|
|
image: phpmyadmin
|
|
restart: always
|
|
ports:
|
|
- "3322:80"
|
|
environment:
|
|
- PMA_ARBITRARY=1 |