This repository has been archived on 2023-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
web-gpt/docker-compose.yaml

34 lines
542 B
YAML

version: '3'
volumes:
web-gpt:
db:
services:
web-gpt:
image: web-gpt
restart: always
depends_on:
- db
build:
context: .
volumes:
- ./instance:/web-gpt/instance
ports:
- 5000:5000
db:
image: mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- ./db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=web-gpt
- MYSQL_USER=web-gpt