Created
October 9, 2024 08:55
-
-
Save numpde/220bb394fbed7bc91695cf01c6755554 to your computer and use it in GitHub Desktop.
WP/WC: MySQL
This file contains hidden or 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
services: | |
db_nairobi: | |
image: mysql:8.1 | |
container_name: db_nairobi | |
restart: always | |
environment: | |
MYSQL_DATABASE: ${MYSQL_DATABASE} | |
MYSQL_USER: ${MYSQL_USER} | |
MYSQL_PASSWORD: ${MYSQL_PASSWORD} | |
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} | |
volumes: | |
- ./db_data:/var/lib/mysql | |
networks: | |
- internal_nairobi | |
networks: | |
internal_nairobi: | |
driver: bridge | |
volumes: | |
db_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment