Hello together,
I have a problem creating containers. I want to use the console to create containers automatically. This works so far only it stops the container WordPress after a short time.
I guess the problem is related to MySQl because the automatic creation with MariaDB already worked. But with MySQL I can’t get it to work.
The Container WordPress closes without any error message. The only message I got in Synology is that it closes. ( It is shown in the picture)
Would be great if someone could help me.
Greetings
version: '3.7'
services:
db:
image: bitnami/mysql:latest
volumes:
- ./db
environment:
- MYSQL_ROOT_PASSWORD=duerrundsteidle
- MYSQL_DATABASE=duerrundsteidle
- MYSQL_USER=duerrundsteidle
- MYSQL_PASSWORD=duerrundsteidle
wordpress:
image: bitnami/wordpress:latest
depends_on:
- db
ports:
- 8000:80
- 4000:443
volumes:
- ./wordpress
environment:
- WORDPRESS_DB_HOST=db:3306
- WORDPRESS_DB_NAME=wpdb
- WORDPRESS_DB_USER=user
- WORDPRESS_DB_PASSWORD=passowrd
phpmyadmin:
image: bitnami/phpmyadmin:latest
depends_on:
- db
ports:
- 12000:80
- 14000:443
volumes:
- ./phpmyadmin