Skip to content

Nextcloud Docker Add new language #135

Closed Answered by R0Wi
lesu1 asked this question in Q&A
Jul 15, 2022 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Summary

For a custom NC docker image, you could basically go like this:

  1. Adjust your docker-compose.yml-file to have a build-section pointing to your Dockerfile and make sure you use a custom image name to force Docker to build your image
version: '2'

volumes:
  nextcloud:
  db:

services:
  db:
    image: mariadb
    restart: always
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    volumes:
      - db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=
      - MYSQL_PASSWORD=
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud

  app:
    # Adjust the image name to your needs, this will be branded into your custom image
    image: nextcloud-…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@R0Wi
Comment options

R0Wi Jul 15, 2022
Maintainer

Comment options

You must be logged in to vote
0 replies
Answer selected by R0Wi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants