diff --git a/.gitignore b/.gitignore index 5c0fc1f..42f2d18 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/data/cloud +/data/app /backup diff --git a/docker-compose.yml b/docker-compose.yml index bc76de8..80939e2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,14 +14,12 @@ - MYSQL_PASSWORD=${NEXTCLOUD_DATABASE_PASSWORD} - NEXTCLOUD_ADMIN_USER=${NEXTCLOUD_ADMIN_USER} - NEXTCLOUD_ADMIN_PASSWORD=${NEXTCLOUD_ADMIN_PASSWORD} - - NEXTCLOUD_DATA_DIR=/srv/cloud - TZ=${TZ} tmpfs: - /tmp volumes: - - ./data/cloud/:/srv/cloud/ - - nextcloud-www-vol-1:/var/www/html - #- ./data/www/:/var/www/html/ + #- nextcloud-www-vol-1:/var/www/html + - ./data/app:/var/www/html networks: nextcloud-network: ipv4_address: 172.22.5.100 @@ -34,7 +32,8 @@ ports: - "${NEXTCLOUD_WEB_BIND:-127.0.0.1}:${NEXTCLOUD_WEB_PORT:-8080}:80" volumes: - - nextcloud-www-vol-1:/var/www/html:ro + #- nextcloud-www-vol-1:/var/www/html:ro + - ./data/app:/var/www/html:ro depends_on: - nextcloud-app networks: @@ -75,4 +74,4 @@ volumes: nextcloud-db-vol-1: - nextcloud-www-vol-1: + #nextcloud-www-vol-1: