Skip to content

Instantly share code, notes, and snippets.

@rlaace423
Last active August 30, 2023 16:42
Show Gist options
  • Save rlaace423/9bdf9a690a0db094ba2c5d5005624535 to your computer and use it in GitHub Desktop.
Save rlaace423/9bdf9a690a0db094ba2c5d5005624535 to your computer and use it in GitHub Desktop.
version: "3.9"
services:
nextcloud:
image: arm64v8/nextcloud
restart: always
container_name: nextcloud
ports:
- "10000:80"
networks:
- nextcloud
environment:
- MYSQL_HOST=localhost
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD_FILE=/run/secrets/mysql_nextcloud_password
- NEXTCLOUD_ADMIN_USER=rlaace423
- NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_rlaace423_password
volumes:
- ./app:/var/www/html
secrets:
- mysql_nextcloud_password
- nextcloud_rlaace423_password
networks:
nextcloud:
name: nextcloud
driver: bridge
secrets:
mysql_nextcloud_password:
file: .mysql_nextcloud_password
nextcloud_rlaace423_password:
file: .nextcloud_rlaace423_password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment