diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa0d57e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +database diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..ab1f416 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/Projekt-dev-env.iml b/.idea/Projekt-dev-env.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/.idea/Projekt-dev-env.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..e6ef4f3 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..82bb817 --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,12 @@ + + + + + mysql.8 + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://10.204.192.110:3306/ticket_sys + $ProjectFileDir$ + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..37c6b55 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..c978021 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..a353fff --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,22 @@ +# Nutzer:Passwort für DB = root:example +services: + + db: + image: mariadb:latest + restart: no + ports: + - 3306:3306 + environment: + MARIADB_ROOT_PASSWORD: example + volumes: + - type: bind + source: ./database + target: /var/lib/mysql + + phpmyadmin: + image: phpmyadmin:latest + restart: no + ports: + - 8081:80 + environment: + - PMA_ARBITRARY=1