Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker image: variable for database location and database passord #523

Open
dmrzh opened this issue Dec 19, 2023 · 0 comments
Open

docker image: variable for database location and database passord #523

dmrzh opened this issue Dec 19, 2023 · 0 comments

Comments

@dmrzh
Copy link

dmrzh commented Dec 19, 2023

To simplify setting up the server, you need to create environment variables that point to the database.

Аs an example

version: '3.7'
services:
cells:
image: pydio/cells:latest
restart: unless-stopped
ports:
- "8200:8080"
environment:
- CELLS_INSTALL_YAML=/pydio/config/install.yml
- DATABASE_NAME=cells
- DATABASE_HOST=mysql
- DATABASE_PASSWIRD=ChangeMe!

volumes:
- ./cellsdir:/var/cells
- ./install-conf.yml:/pydio/config/install.yml:ro

mysql:
image: mariadb
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: ChangeMe!
MYSQL_DATABASE: cells
MYSQL_USER: pydio
MYSQL_PASSWORD: ChangeMe!
volumes:
- ./mysqldir:/var/lib/mysql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant