Here\'s my docker-compose:
version: \'2\'
services:
couchpotato:
build:
context: ./couchpotato
dockerfile: Dockerfile
ports:
-
I was with the same issues, on Windows.
For solve "mariadb keeping restarting", I was using this:
mariadb:
image: mariadb
volumes:
- ${PWD}/data:/var/lib/mysql
It solved, but always showed me the message:
WARNING: The PWD variable is not set. Defaulting to a blank string.
Then I just used on this way, whithout "." at beginning:
mariadb:
image: mariadb
volumes:
- /data:/var/lib/mysql