Created
December 29, 2019 15:44
-
-
Save uurtech/cff013ab30752a7307e8c5d9df6ed38a to your computer and use it in GitHub Desktop.
Apache mysql adminer docker container with same network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
web: | |
build: ./web/ | |
volumes: | |
- ./app/:/var/www/html/ | |
ports: | |
- 8000:80 | |
networks: | |
- backend | |
db: | |
image: mysql | |
container_name: mysqlserver | |
command: --default-authentication-plugin=mysql_native_password | |
restart: always | |
networks: | |
- backend | |
environment: | |
MYSQL_ROOT_PASSWORD: kazdal | |
adminer: | |
image: adminer | |
restart: always | |
networks: | |
- backend | |
ports: | |
- 8080:8080 | |
networks: | |
backend: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment