Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker

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"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #docker
ADD COMMENT
Topic
Name
1+8 =