-
-
Save ngophuong/061b5df4ef53f8ce282d6053b50a7070 to your computer and use it in GitHub Desktop.
nextcloud docker raspberry pi
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
POSTGRES_PASSWORD=password | |
POSTGRES_DB=nextcloud | |
POSTGRES_USER=nextcloud |
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: postgres | |
restart: always | |
volumes: | |
- db:/var/lib/postgresql/data | |
env_file: | |
- db.env | |
app: | |
image: nextcloud:apache | |
restart: always | |
ports: | |
- 8080:80 | |
volumes: | |
- nextcloud:/var/www/html | |
environment: | |
- POSTGRES_HOST=db | |
env_file: | |
- db.env | |
depends_on: | |
- db | |
volumes: | |
db: | |
nextcloud: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment