Skip to content

Instantly share code, notes, and snippets.

@marciojg
Created August 15, 2021 13:40
Show Gist options
  • Save marciojg/d7279c2651bc1a587055fd201f5cd423 to your computer and use it in GitHub Desktop.
Save marciojg/d7279c2651bc1a587055fd201f5cd423 to your computer and use it in GitHub Desktop.
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