moving away from mariadb
This commit is contained in:
@@ -17,11 +17,7 @@ Using Jakach Login is straightforward:
|
||||
git clone https://git.jakach.ch/jakani24/jakach-login
|
||||
```
|
||||
|
||||
3. **Create a Docker volume for database storage:**
|
||||
```bash
|
||||
docker volume create jakach-login-db-storage
|
||||
```
|
||||
4. **Run the system using Docker Compose:**
|
||||
3. **Run the system using Docker Compose:**
|
||||
```bash
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
+4
-4
@@ -1,15 +1,16 @@
|
||||
services:
|
||||
jakach-login-db:
|
||||
image: mariadb:10.6.25
|
||||
image: mysql:8.4.9-oraclelinux9
|
||||
container_name: jakach-login-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: 1234
|
||||
command: ["mysqld", "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci"]
|
||||
networks:
|
||||
jakach-login-network:
|
||||
ipv4_address: 192.168.5.2
|
||||
volumes:
|
||||
- jakach-login-db-storage:/var/lib/mysql
|
||||
- jakach-login-mysql-storage:/var/lib/mysql
|
||||
|
||||
jakach-login-redis:
|
||||
image: redis:7-alpine
|
||||
@@ -49,5 +50,4 @@ networks:
|
||||
- subnet: 192.168.5.0/24
|
||||
|
||||
volumes:
|
||||
jakach-login-db-storage:
|
||||
external: true
|
||||
jakach-login-mysql-storage:
|
||||
|
||||
Reference in New Issue
Block a user