moving away from mariadb
Deploy / security_scan (push) Failing after 20s
Deploy / code_scan (push) Successful in 20s
Deploy / deploy (push) Has been skipped

This commit is contained in:
2026-05-20 19:39:16 +02:00
parent ccae7bf73c
commit f8560068dd
2 changed files with 5 additions and 9 deletions
+1 -5
View File
@@ -17,11 +17,7 @@ Using Jakach Login is straightforward:
git clone https://git.jakach.ch/jakani24/jakach-login git clone https://git.jakach.ch/jakani24/jakach-login
``` ```
3. **Create a Docker volume for database storage:** 3. **Run the system using Docker Compose:**
```bash
docker volume create jakach-login-db-storage
```
4. **Run the system using Docker Compose:**
```bash ```bash
docker-compose up docker-compose up
``` ```
+4 -4
View File
@@ -1,15 +1,16 @@
services: services:
jakach-login-db: jakach-login-db:
image: mariadb:10.6.25 image: mysql:8.4.9-oraclelinux9
container_name: jakach-login-db container_name: jakach-login-db
restart: unless-stopped restart: unless-stopped
environment: environment:
MYSQL_ROOT_PASSWORD: 1234 MYSQL_ROOT_PASSWORD: 1234
command: ["mysqld", "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci"]
networks: networks:
jakach-login-network: jakach-login-network:
ipv4_address: 192.168.5.2 ipv4_address: 192.168.5.2
volumes: volumes:
- jakach-login-db-storage:/var/lib/mysql - jakach-login-mysql-storage:/var/lib/mysql
jakach-login-redis: jakach-login-redis:
image: redis:7-alpine image: redis:7-alpine
@@ -49,5 +50,4 @@ networks:
- subnet: 192.168.5.0/24 - subnet: 192.168.5.0/24
volumes: volumes:
jakach-login-db-storage: jakach-login-mysql-storage:
external: true