Stack rename to see if networking issues are preventing operation

This commit is contained in:
WilliamMiceli
2018-08-01 09:26:14 -04:00
parent 4a11bb1833
commit 73ecfa7eac

View File

@@ -1,7 +1,7 @@
version: '2' version: '2'
services: services:
nextcloud: nextcloud-nfs:
image: nextcloud:stable-apache image: nextcloud:stable-apache
depends_on: depends_on:
- mysql - mysql
@@ -9,7 +9,7 @@ services:
- 1.1.1.1 - 1.1.1.1
- 1.0.0.1 - 1.0.0.1
environment: environment:
MYSQL_HOST: mysql MYSQL_HOST: mysql-nfs
MYSQL_DATABASE: nextcloud MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud_user MYSQL_USER: nextcloud_user
MYSQL_PASSWORD: ${DB_USER_PASS} MYSQL_PASSWORD: ${DB_USER_PASS}
@@ -39,7 +39,7 @@ services:
- Nextcloud-Application:/var/www/html - Nextcloud-Application:/var/www/html
- Nextcloud-UserData:/var/www/html/data - Nextcloud-UserData:/var/www/html/data
mysql: mysql-nfs:
image: mysql:5 image: mysql:5
dns: dns:
- 1.1.1.1 - 1.1.1.1
@@ -60,13 +60,19 @@ services:
- Nextcloud-Database:/var/lib/mysql - Nextcloud-Database:/var/lib/mysql
networks: networks:
nextcloud-net: nextcloud-nfs-net:
public: public:
external: true external: true
volumes: volumes:
Nextcloud-Application: Nextcloud-Application:
driver: rancher-nfs driver: rancher-nfs
driver_opts:
onRemove: retain
Nextcloud-UserData: Nextcloud-UserData:
driver: rancher-nfs driver: rancher-nfs
driver_opts:
onRemove: retain
Nextcloud-Database: Nextcloud-Database:
driver: rancher-nfs driver: rancher-nfs
driver_opts:
onRemove: retain