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
|
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
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user