mirror of
https://github.com/spiritLHLS/one-click-installation-script.git
synced 2024-11-16 11:32:18 +08:00
26 lines
484 B
YAML
26 lines
484 B
YAML
version: "3.9"
|
|
services:
|
|
fossbilling:
|
|
image: fossbilling/fossbilling
|
|
restart: always
|
|
ports:
|
|
- 80:80
|
|
volumes:
|
|
- fossbilling:/var/www/html
|
|
mysql:
|
|
image: mysql:8.0
|
|
restart: always
|
|
environment:
|
|
MYSQL_DATABASE: exampledb
|
|
MYSQL_USER: exampleuser
|
|
MYSQL_PASSWORD: examplepass
|
|
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
|
volumes:
|
|
- mysql:/var/lib/mysql
|
|
ports:
|
|
- 127.0.0.1:3306:3306
|
|
|
|
volumes:
|
|
fossbilling:
|
|
mysql:
|