Docker: Restart mysql container unless stopped

This commit is contained in:
2023-01-02 19:26:25 +01:00
parent c29c018bba
commit d0535e06ad

View File

@@ -15,6 +15,7 @@ services:
- /usr/share/fonts/:/usr/share/fonts/ - /usr/share/fonts/:/usr/share/fonts/
mysql: mysql:
image: mysql:8.0 image: mysql:8.0
restart: unless-stopped
ports: ports:
- ${DB_PORT}:3306 - ${DB_PORT}:3306
volumes: volumes: