-
-
Save saterHATER/7f9f2e580c94497492957fd9c13bc461 to your computer and use it in GitHub Desktop.
ash_m's docker composition
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: | |
wiki: | |
image: mediawiki | |
container_name: wikiServer | |
ports: | |
- 8080:80 | |
volumes: | |
- uploads:/path/to/uploads | |
database: | |
image: mysql | |
container_name: wikiDB | |
environment: | |
MYSQL_ROOT_PASSWORD: "mypassword" | |
MYSQL_DATABASE: "my_wiki" | |
MYSQL_USER: "sqluser" | |
MYSQL_PASSWORD: "mysqlpassword" | |
volumes: | |
- dbdata='/var/lib/mysql' | |
volumes: | |
uploads: | |
dbdata: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment