1
0
Fork 0

master-compose:

- gitea: change mount points to correct ones (fix issue where gitea needs to be reconfigured after _X_ number of reboots)
 - nextcloud: tag `/var/www/html` as shared
This commit is contained in:
Pratham Patel 2022-07-27 01:46:17 +05:30
parent 5a33e54b9e
commit 018204b6b6
1 changed files with 6 additions and 5 deletions

View File

@ -30,8 +30,9 @@ services:
- 8010:3000
- 8011:2222
volumes:
- /trayimurti/containers/volumes/gitea/web/data:/var/lib/gitea:Z
- /trayimurti/containers/volumes/gitea/web/config:/etc/gitea:Z
- /trayimurti/containers/volumes/gitea/web:/data:Z
# - /trayimurti/containers/volumes/gitea/web/data:/var/lib/gitea:Z
# - /trayimurti/containers/volumes/gitea/web/config:/etc/gitea:Z
- /etc/localtime:/etc/localtime:ro
environment:
- ROOT_URL=https://git.thefossguy.com
@ -79,7 +80,7 @@ services:
ports:
- 8030:80
volumes:
- /trayimurti/containers/volumes/nextcloud/web:/var/www/html:Z
- /trayimurti/containers/volumes/nextcloud/web:/var/www/html:z
environment:
- POSTGRES_PASSWORD=/run/secrets/nextcloud_database_user_password
- POSTGRES_DB=nextcloud
@ -110,11 +111,11 @@ services:
nextcloud-cron:
image: nextcloud:production
container_name: nextcloud-kama
container_name: nextcloud-karma
restart: always
entrypoint: /cron.sh
volumes:
- /trayimurti/containers/volumes/nextcloud/web:/var/www/html:Z
- /trayimurti/containers/volumes/nextcloud/web:/var/www/html:z
environment:
- TZ=Asia/Kolkata
depends_on: