mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-11-10 09:12:51 +08:00
28 lines
521 B
YAML
28 lines
521 B
YAML
|
services:
|
||
|
nuxbill:
|
||
|
container_name: nuxbill
|
||
|
pull_policy: always
|
||
|
build: ./
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- "80:80"
|
||
|
environment:
|
||
|
TZ: Africa/Nairobi
|
||
|
depends_on:
|
||
|
- mysql
|
||
|
|
||
|
mysql:
|
||
|
container_name: mysql
|
||
|
image: mysql:8.0
|
||
|
environment:
|
||
|
MYSQL_ROOT_PASSWORD: "12345678"
|
||
|
MYSQL_DATABASE: "nuxbill"
|
||
|
MYSQL_USER: "nuxbill"
|
||
|
MYSQL_PASSWORD: "12345678"
|
||
|
ports:
|
||
|
- "3306:3306"
|
||
|
volumes:
|
||
|
- mysql_data:/var/lib/mysql
|
||
|
|
||
|
volumes:
|
||
|
mysql_data:
|