Category : phpmyadmin

I have a springboot app that works just fine on my local machine on PORT:8084 application.properties : server.servlet.context-path=/timesheet-devops spring.mvc.servlet.path=/servlet server.port=8084 spring.datasource.url=jdbc:mysql://localhost:3306/timesheet-devops?uuseUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC spring.datasource.username=user spring.datasource.password=password spring.jpa.show-sql=true spring.jpa.hibernate.ddl-auto=update spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect here’s my docker file : FROM openjdk:8 COPY target/time_sheet_Dev_Ops-1.0.jar time_sheet_Dev_Ops-1.0.jar EXPOSE 8084 ENTRYPOINT ["java","-jar","time_sheet_Dev_Ops-1.0.jar"] i build the image then i try : docker run -p 8084:8084 imagename ERROR log ..

Read more

So, I’ve setup several container apps that use MariaDB as their db backend, using docker-compose. Containers are setup as needed and therefore MariaDB gets installed each time on every container that uses the db. For example, I have some containers (PHPMyAdmin, NGiNX-PM, etc.) that use MariaDB, and they, in turn, have a version of it ..

Read more

I’m trying to create a containerised CodeIgniter project, using 3 micro-services: mysql 5.7, codeigniter 3, and phpmyadmin. I got the codeigniter project from here. I am using Docker Compose. docker-compose.yml: version: ‘3’ services: mysql: container_name: mysql image: mysql:5.7 volumes: – ./db_data:/var/lib/mysql restart: always ports: – "4306:3306" environment: MYSQL_ROOT_PASSWORD: admin MYSQL_DATABASE: ciapp MYSQL_USER: root MYSQL_PASSWORD: password ..

Read more

docker-compose file version: ‘3’ networks: test_network: services: nginx: image: nginx:stable-alpine container_name: nginx restart: always ports: – "9999:80" volumes: – ‘./nginx:/usr/share/nginx/html’ – ‘./nginx/conf:/etc/nginx/conf.d’ depends_on: – php – mysql networks: – test_network mysql: image: mysql:latest container_name: mysql restart: always ports: – "3306:3306" volumes: – ./mysql:/var/lib/mysql environment: MYSQL_DATABASE: pmadb MYSQL_PASSWORD: root MYSQL_ROOT_PASSWORD: root SERVICE_TAGS: dev SERVICE_NAME: mysql networks: ..

Read more

when I run my docker compose file I’m getting a weird rendering of phpMyAdmin, I tried different web browsers an clearing the cache but the issue is the same: Here is my docker-compose.yml: version: "3.9" services: aspnetcoreapp: container_name: aspnetcoreapp build: context: ./aspnetcoreapp dockerfile: Dockerfile expose: – "5080" restart: always depends_on: – mysql networks: – mynet ..

Read more

I have installed two (MySQL)s versions 8.0.26(accessed via 3306) and 5.6(In a docker container but accessed locally via port 3310). I have PHPMyAdmin for 8.0.26 installed and served by Nginx. But now I need to install the one for MySQL 5.7, I tried duplicating the /usr/share/phpmyadmin and modified $cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1’; to $cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1:3307’; ..

Read more

So I tried to get a combo of phpMyAdmin and a database (jsurf/rpi-mariadb) running on my raspberry pi. My Dockerfile looks the following: version: ‘3.1’ services: php: image: php:7.4-apache ports: – 80:80 volumes: – ./src:/var/www/html/ db: build: jsurf/rpi-mariadb restart: always container_name: db ports: – 3306:3306 volumes: – ./db_data:/var/lib/mysql/ environment: MYSQL_ROOT_PASSWORD: password_test MYSQL_DATABASE: test1 MYSQL_USER: testuser ..

Read more