Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeetraina/7677e1285a8ca7ab3ae40afdebe9aebb to your computer and use it in GitHub Desktop.
Save ajeetraina/7677e1285a8ca7ab3ae40afdebe9aebb to your computer and use it in GitHub Desktop.
A Docker Compose for MariaDB, connected to multiple containers (Nextcloud, Paperless, and Recepte)
version: '3'
services:
db:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: your_root_password
MYSQL_DATABASE: your_database_name
MYSQL_USER: your_username
MYSQL_PASSWORD: your_password
nextcloud:
image: nextcloud
restart: always
ports:
- 8080:80
depends_on:
- db
paperless:
image: paperless
restart: always
depends_on:
- db
recepte:
image: recepte
restart: always
depends_on:
- db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment