Last active
November 14, 2017 11:58
-
-
Save rogeriolino/adcfe236429e173dcc2ebce4557a863c to your computer and use it in GitHub Desktop.
Novo SGA v2.0 docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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