version: "3.3"
services:
db:
image: mysql
platform: linux/amd64
restart: always
container_name: mysql-db-users
environment:
MYSQL_ROOT_PASSWORD: 'password'
MYSQL_DATABASE: 'userDb'
ports:
- "3306:3306"
phpmyadmin:
image: phpmyadmin
restart: always
container_name: php-my-admin-users
ports:
- "8081:80"