Created
August 15, 2021 13:40
-
-
Save marciojg/d7279c2651bc1a587055fd201f5cd423 to your computer and use it in GitHub Desktop.
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: | |
mysqlsrv: | |
image: mysql:5.7 | |
environment: | |
MYSQL_ROOT_PASSWORD: "root" | |
MYSQL_DATABASE: "root" | |
ports: | |
- "3306:3306" | |
volumes: | |
- ./data:/var/lib/mysql | |
networks: | |
- mysql-compose-network | |
mysql-workbench: | |
image: ghcr.io/linuxserver/mysql-workbench | |
container_name: mysql-workbench | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=America/Sao_Paulo | |
volumes: | |
- ./workbench/config:/config | |
ports: | |
- 8000:3000 | |
cap_add: | |
- IPC_LOCK | |
restart: unless-stopped | |
networks: | |
- mysql-compose-network | |
networks: | |
mysql-compose-network: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment