Advertisement
techblog

Nextcloud_Compose

Jan 8th, 2020
248
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  nextcloud:
  2.     image: nextcloud
  3.     container_name: nextcloud
  4.     hostname: nextcloud
  5.     environment:
  6.    - MYSQL_DATABASE=${NEXTCLOUD_DB_DATABASE:?Please copy template.env to .env and provide provide a value for NEXTCLOUD_DB_DATABASE}
  7.     - MYSQL_USER=${NEXTCLOUD_DB_USER:?Please copy template.env to .env and provide provide a value for NEXTCLOUD_DB_USER}
  8.     - MYSQL_PASSWORD=${NEXTCLOUD_DB_PASS:?Please copy template.env to .env and provide provide a value for NEXTCLOUD_DB_PASS}
  9.     - MYSQL_HOST=${NEXTCLOUD_DB_HOST:?Please copy template.env to .env and provide provide a value for NEXTCLOUD_DB_HOST}
  10.     volumes:
  11.    - ./nextcloud:/var/www/html
  12.     restart: unless-stopped
  13.     ports:
  14.    - "8002:80"
  15.     networks:
  16.      - mail
  17.       - mysql
  18.       - proxy
  19.     labels:
  20.      - com.ouroboros.enable=true
  21.       - traefik.enable=false
Advertisement
RAW Paste Data Copied
Advertisement