Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Docker Compose - wordpress and docker [EN]
Alexandre Fernandes dos Santos
Alexandre Fernandes dos Santos

Posted on • Edited on

     

Docker Compose - wordpress and docker [EN]

I came here to share while listening to my "sertanejo" a script for docker-compose that creates a container with Wordpress and MariaDb as a database for a project i'm doing on twitch which is to create some themes so that's it i hope it helps someone else and any question just comment and i will be happy to answer ✌️

version:'3'services:wordpress:image:wordpressrestart:alwaysports:-8080:80environment:WORDPRESS_DB_HOST:dbWORDPRESS_DB_USER:userWORDPRESS_DB_PASSWORD:passWORDPRESS_DB_NAME:wordpressvolumes:-wordpress:/var/www/htmldepends_on:-dbdb:image:mariadb:latestrestart:alwaysenvironment:MYSQL_DATABASE:wordpressMYSQL_USER:userMYSQL_PASSWORD:passMYSQL_RANDOM_ROOT_PASSWORD:'1'volumes:-db:/var/lib/mysqlvolumes:wordpress:db:
Enter fullscreen modeExit fullscreen mode

Top comments(1)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
wmramadan profile image
Wael Ramadan
Writing about open source dev tools!
  • Joined

Nice article, this might be worth a lookgithub.com/WMRamadan/docker-compos...

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

  • Location
    Goiânia - GO
  • Education
    UFG - Universidade Federal de Goiás
  • Work
    Desenvolvedor - LuizaLabs
  • Joined

More fromAlexandre Fernandes dos Santos

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp