Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Novo SGA v2.0 docker-compose
version: '2'
services:
novosga:
image: novosga/novosga:latest
restart: always
depends_on:
- mysqldb
ports:
- "80:80"
environment:
APP_ENV: 'prod'
# database connection
DATABASE_URL: 'mysql://novosga@mysqldb:3306/novosga2?charset=utf8mb4&serverVersion=5.7'
DATABASE_PASS: 'MySQL_App_P@ssW0rd!'
# default admin user
NOVOSGA_ADMIN_USERNAME: 'admin'
NOVOSGA_ADMIN_PASSWORD: '123456'
NOVOSGA_ADMIN_FIRSTNAME: 'Administrator'
NOVOSGA_ADMIN_LASTNAME: 'Global'
# default unity
NOVOSGA_UNITY_NAME: 'My Unity'
NOVOSGA_UNITY_CODE: 'U01'
# default no-priority
NOVOSGA_NOPRIORITY_NAME: 'Normal'
NOVOSGA_NOPRIORITY_DESCRIPTION: 'Normal service'
# default priority
NOVOSGA_PRIORITY_NAME: 'Priority'
NOVOSGA_PRIORITY_DESCRIPTION: 'Priority service'
# default place
NOVOSGA_PLACE_NAME: 'Box'
mysqldb:
image: mysql:5.7
restart: always
environment:
MYSQL_USER: 'novosga'
MYSQL_DATABASE: 'novosga2'
MYSQL_ROOT_PASSWORD: 'MySQL_r00t_P@ssW0rd!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.