mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-23 23:17:05 +08:00
chore: added docker compose
This commit is contained in:
parent
3c3d1408d3
commit
8646453a0a
1 changed files with 28 additions and 0 deletions
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
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:
|
Loading…
Reference in a new issue