Update Home
+16
-2
@@ -10,16 +10,30 @@ Under Traefik service, edit the email to match your email. Replace **enteryour@e
|
|||||||
|
|
||||||
`- "--certificatesresolvers.myresolver.acme.email=enteryour@email.com"`
|
`- "--certificatesresolvers.myresolver.acme.email=enteryour@email.com"`
|
||||||
|
|
||||||
Also, under Traefik service, change the location to match the location you want the data. Change **/some/local/location/** to match the location.
|
Also, under Traefik service, change the location to match the location you want the data stored at. Change **/some/local/location/** to match the location.
|
||||||
|
|
||||||
`- /some/local/location/Traefik/acme.json:/acme.json`
|
`- /some/local/location/Traefik/acme.json:/acme.json`
|
||||||
|
|
||||||
`- /some/local/location/Traefik/files/:/etc/traefik/traefik.yml`
|
`- /some/local/location/Traefik/files/:/etc/traefik/traefik.yml`
|
||||||
|
|
||||||
Under the NextCloud service:
|
Under the MySQL service change the **super_secret_root_password** to something you only know.
|
||||||
|
|
||||||
|
`MYSQL_ROOT_PASSWORD: super_secret_root_password`
|
||||||
|
|
||||||
|
Then change this data if you need to. I usually set it to **mysql**
|
||||||
|
`MYSQL_DATABASE: my_database`
|
||||||
|
|
||||||
|
Here you will set the user and password for MySQL. Change the **my_db_user** and set the password by changing **my_db_password**
|
||||||
|
`MYSQL_USER: my_db_user`
|
||||||
|
`MYSQL_PASSWORD: my_db_password`
|
||||||
|
|
||||||
|
Under the NextCloud service change the container name
|
||||||
`container_name: NameOfYourContainer`
|
`container_name: NameOfYourContainer`
|
||||||
|
|
||||||
|
Also, under the NextCloud service change, change **nextcloud.domain.com** to match the FQDN you want to use for NextCloud.
|
||||||
`- traefik.http.routers.nextcloud.rule=Host(`nextcloud.domain.com`)`
|
`- traefik.http.routers.nextcloud.rule=Host(`nextcloud.domain.com`)`
|
||||||
|
|
||||||
|
Also change the MYSQL_PASSWORD to your SQL password set earlier in the
|
||||||
`- MYSQL_PASSWORD=MySQLPassword`
|
`- MYSQL_PASSWORD=MySQLPassword`
|
||||||
`- NEXTCLOUD_TRUSTED_DOMAINS=some.domain.com`
|
`- NEXTCLOUD_TRUSTED_DOMAINS=some.domain.com`
|
||||||
`- /path/to/you/data/:/var/www/html`
|
`- /path/to/you/data/:/var/www/html`
|
||||||
|
|||||||
Reference in New Issue
Block a user