Frontend/docker-compose.yml

30 lines
707 B
YAML
Raw Normal View History

version: "3.1"
services:
database:
image: mysql
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: "pass"
MYSQL_DATABASE: "cre"
ports:
2021-11-08 01:26:31 -05:00
- "3307:3306"
backend:
image: registry.fyloz.dev:5443/colorrecipesexplorer/backend:latest
environment:
spring_profiles_active: "mysql,debug"
2021-11-08 01:26:31 -05:00
cre_database_url: "mysql://database:3307/cre"
cre_database_username: "root"
cre_database_password: "pass"
CRE_ENABLE_DB_UPDATE: 1
server_port: 9090
ports:
- "9090:9090"
volumes:
- cre_data:/usr/bin/cre/data
- cre_config:/usr/bin/cre/config
volumes:
cre_data:
cre_config: