- Added Vue components (`AppListItem`, `AddApp`, `Apps`) for app management. - Implemented Vuex stores for apps and groups. - Enhanced backend: - CRUD operations for apps and group mappings. - Introduced a new service for app-related logic. - Updated database schema and DTO structure. - Adjusted security and CORS configurations. - Updated docker-compose to align service dependencies.
50 lines
No EOL
1.1 KiB
YAML
50 lines
No EOL
1.1 KiB
YAML
services:
|
|
mysql:
|
|
image: mysql:8.0
|
|
container_name: lcc-mysql-local
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
|
MYSQL_DATABASE: lcc
|
|
MYSQL_USER: ${SPRING_DATASOURCE_USERNAME}
|
|
MYSQL_PASSWORD: ${SPRING_DATASOURCE_PASSWORD}
|
|
volumes:
|
|
- mysql-data-local:/var/lib/mysql
|
|
ports:
|
|
- "3306:3306"
|
|
networks:
|
|
- lcc-network-local
|
|
healthcheck:
|
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
restart: unless-stopped
|
|
|
|
lcc-app:
|
|
#image: git.avatic.de/avatic/lcc:latest
|
|
# Oder für lokales Bauen:
|
|
build: .
|
|
container_name: lcc-app-local
|
|
depends_on:
|
|
mysql:
|
|
condition: service_healthy
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
# Überschreibe die Datasource URL für Docker-Netzwerk
|
|
SPRING_DATASOURCE_URL: jdbc:mysql://mysql:3306/lcc
|
|
ports:
|
|
- "8080:8080"
|
|
networks:
|
|
- lcc-network-local
|
|
dns:
|
|
- 8.8.8.8
|
|
- 8.8.4.4
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
mysql-data-local:
|
|
|
|
networks:
|
|
lcc-network-local:
|
|
driver: bridge |