2021-06-06 00:08:27 -04:00
|
|
|
version: "3.1"
|
|
|
|
|
|
|
|
services:
|
2021-11-30 23:34:06 -05:00
|
|
|
cre.backend:
|
2021-08-07 22:05:46 -04:00
|
|
|
image: registry.fyloz.dev:5443/colorrecipesexplorer/backend:latest
|
2021-06-06 00:08:27 -04:00
|
|
|
environment:
|
|
|
|
spring_profiles_active: "mysql,debug"
|
2021-11-17 19:23:13 -05:00
|
|
|
cre_database_url: "mysql://database/cre"
|
2021-06-06 00:08:27 -04:00
|
|
|
cre_database_username: "root"
|
|
|
|
cre_database_password: "pass"
|
2021-08-07 22:05:46 -04:00
|
|
|
CRE_ENABLE_DB_UPDATE: 1
|
2021-06-06 00:08:27 -04:00
|
|
|
server_port: 9090
|
|
|
|
ports:
|
2021-08-07 22:05:46 -04:00
|
|
|
- "9090:9090"
|
2021-06-06 00:08:27 -04:00
|
|
|
volumes:
|
|
|
|
- cre_data:/usr/bin/cre/data
|
|
|
|
- cre_config:/usr/bin/cre/config
|
2021-11-30 23:34:06 -05:00
|
|
|
cre.database:
|
|
|
|
image: mysql
|
|
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: "pass"
|
|
|
|
MYSQL_DATABASE: "cre"
|
|
|
|
ports:
|
|
|
|
- "3307:3306"
|
2021-06-06 00:08:27 -04:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
cre_data:
|
|
|
|
cre_config:
|