44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
# FOSSBilling — VM122 (Spec 024)
|
|
# Uso: docker compose -f docker-compose.fossbilling.yml --env-file .env up -d
|
|
# Separado do Desk (docker-compose.mvp.yml)
|
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
fossbilling-mariadb:
|
|
image: mariadb:11-lts
|
|
restart: unless-stopped
|
|
environment:
|
|
MARIADB_DATABASE: fossbilling
|
|
MARIADB_USER: fossbilling
|
|
MARIADB_PASSWORD: ${MARIADB_PASSWORD:?set MARIADB_PASSWORD in .env}
|
|
MARIADB_RANDOM_ROOT_PASSWORD: "1"
|
|
volumes:
|
|
- fossbilling-mariadb:/var/lib/mysql
|
|
command:
|
|
- --character-set-server=utf8mb4
|
|
- --collation-server=utf8mb4_unicode_ci
|
|
- --innodb-buffer-pool-size=256M
|
|
- --max-connections=50
|
|
mem_limit: 512m
|
|
networks: [billing]
|
|
|
|
fossbilling:
|
|
image: fossbilling/fossbilling:0.8.2
|
|
restart: unless-stopped
|
|
ports:
|
|
- "10.10.10.122:8092:80"
|
|
volumes:
|
|
- fossbilling-data:/var/www/html
|
|
depends_on:
|
|
- fossbilling-mariadb
|
|
mem_limit: 512m
|
|
networks: [billing]
|
|
|
|
volumes:
|
|
fossbilling-mariadb:
|
|
fossbilling-data:
|
|
|
|
networks:
|
|
billing:
|
|
driver: bridge
|