forked from kevinowino869/mitrobill
change docker-compose.yml to docker-compose.example.yml
This commit is contained in:
30
docker-compose.example.yml
Normal file
30
docker-compose.example.yml
Normal file
@ -0,0 +1,30 @@
|
||||
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"
|
||||
|
||||
# skip data persistance (if dev testing)
|
||||
# volumes:
|
||||
# - mysql_data:/var/lib/mysql
|
||||
|
||||
# volumes:
|
||||
# mysql_data:
|
Reference in New Issue
Block a user