Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nextcloud:
- image:nextcloud
- image:mariadb
- command: -transaction-isolation=READ-COMMITTED --binlog-format=ROW
- restart: unless-stopped
- ports:
- - 8084:80
- environment:
- - PUID=${PUID} # default user id, defined in .env
- - PGID=${PGID} # default group id, defined in .env
- - TZ=${TZ} # timezone, defined in .env
- - MYSQL_ROOT_PASSWORD=Gabinator9
- - MYSQL_PASSWORD=Gabinator9
- - MYSQL_DATABASE=nextcloud
- - MYSQL_USER=nextcloud
- volumes:
- - /etc/localtime:/etc/localtime:ro
- - ${ROOT}:/data
- - ${ROOT}/config/nextcloud:/config # config files
- - db:/var/lib/mysql
- - nextcloud:/var/www/html
- labels:
- <<: *default_traefik_opts
- traefik.backend: 'nextcloud'
- traefik.port: '8084'
- traefik.local.frontend.rule: 'Host:nextcloud.${LOCAL_DOMAIN:-localhost}'
- traefik.https.frontend.rule: 'Host:nextcloud.${DOMAIN:-default}'
- links:
- - db
- services:
- db:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement