DEV Community

Discussion on: Heroku Database VS AWS RDS

Collapse
 
mxdpeep profile image
Filip Oščádal

docker run --detach --name some-mariadb --env MARIADB_USER=example-user --env MARIADB_PASSWORD=my_cool_secret --env MARIADB_ROOT_PASSWORD=my-secret-pw mariadb:latest

is it too hard??

Collapse
 
pblgllgs profile image
pbl.gllgs

En mi opinión igual necesitaras un contenedor, administrar la base de datos, respaldos, espacio en disco... AWS RDS > servicios de bases de datos relacionales en la nube.

Collapse
 
mohsenkamrani profile image
Sam

I'm not sure if you really mean this can be used in production and I really doubt that's your intention.

Of course it's a great idea to use a simple docker container in your local dev. We always have a docker compose in each repository as well.

Collapse
 
mxdpeep profile image
Filip Oščádal

Actually we run many simple containers in production, using docker-compose.
Where's the problem?

Speed? nope! Reliability? nope! Security? nope!

So if you find a problem here I am all ears...

Thread Thread
 
mohsenkamrani profile image
Sam

I just say it's good if it works for you!

Collapse
 
mxdpeep profile image
Filip Oščádal

this works just fine:
docker-compose