change docker-compose.yml to docker-compose.example.yml

This commit is contained in:
Ibnu Maksum
2024-06-19 10:10:32 +07:00
parent 1535bd5344
commit 9ef181df6d
2 changed files with 2 additions and 1 deletions

View 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: