Skip to content

Instantly share code, notes, and snippets.

@nicoavila
nicoavila / docker-compose.yml
Last active August 29, 2024 07:32
Docker Compose file for a MySQL 5.7 container
version: '3.3'
services:
database:
image: mysql:5.7
container_name: mysql
restart: always
environment:
MYSQL_DATABASE: 'db'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'password'