Created
July 19, 2023 00:59
-
-
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)
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: | |
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