Template repo for Java-Gradle, VueJS-Quasar repositories, with Dockerfiles and GitHub/GitLab workflows as well.
  • Vue 44.7%
  • JavaScript 44.6%
  • HTML 6%
  • Sass 3.3%
  • Java 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Griefed 88fcbd2f9a Merge branch 'renovate-quasar-extras-1.x' into 'main'
Update dependency @quasar/extras to v1.15.6

See merge request prosper/docker-template-repo!198
2022-12-19 18:02:21 +01:00
.github Update actions/setup-node action to v3.5.1 2022-11-04 11:41:53 +00:00
.gitlab/issue_templates chore: Add GitLab issue templates 2021-07-14 16:15:52 +02:00
.run chore: Update template with docker, quasar, gradle and workflows data 2021-12-10 14:12:14 +01:00
backend no message 2021-12-22 20:18:11 +01:00
frontend Merge branch 'renovate-quasar-extras-1.x' into 'main' 2022-12-19 18:02:21 +01:00
gradle/wrapper Update dependency gradle to v7.5.1 2022-09-04 10:38:31 +00:00
root Delete .gitkeep 2020-11-04 16:35:51 +01:00
.dockerignore ci: Update dev-build template to run on every push and pull request. Tag images based on branch which triggered the workflow. Also improve git- and dockerignore 2021-12-12 14:03:30 +01:00
.gitignore ci: Update dev-build template to run on every push and pull request. Tag images based on branch which triggered the workflow. Also improve git- and dockerignore 2021-12-12 14:03:30 +01:00
.gitlab-ci.yml Merge branch 'renovate-ghcr.io-griefed-baseimage-ubuntu-jdk-8-2.x' into 'main' 2022-11-29 13:12:20 +01:00
.releaserc.yml chore: Update template with docker, quasar, gradle and workflows data 2021-12-10 14:12:14 +01:00
build.gradle Merge branch 'main' into 'renovate-org.apache.logging.log4j-log4j-jul-2.x' 2022-11-29 12:22:02 +00:00
Dockerfile.gradle Update griefed/baseimage-ubuntu-jdk-8 Docker tag to v2.0.15 2022-11-04 11:41:39 +00:00
Dockerfile.gradle.develop Update griefed/baseimage-ubuntu-jdk-8 Docker tag to v2.0.15 2022-11-04 11:41:39 +00:00
Dockerfile.quasar Update Node.js to v17 2022-09-04 10:39:24 +00:00
Dockerfile.quasar.develop Update Node.js to v17 2022-09-04 10:39:24 +00:00
gradle.properties chore: Update template with docker, quasar, gradle and workflows data 2021-12-10 14:12:14 +01:00
gradlew Update dependency gradle to v7.5 2022-08-05 08:16:46 +00:00
gradlew.bat Update dependency gradle to v7.5 2022-08-05 08:16:46 +00:00
LICENSE.md Add LICENSE 2022-07-09 19:09:06 +02:00
README.md chore: Update template with docker, quasar, gradle and workflows data 2021-12-10 14:12:14 +01:00
renovate.json Update renovate.json 2021-12-17 18:47:24 +01:00
settings.gradle Update deps. Include publishing and signing template. Update gitlab-ci with changes acquired from other repo experiences 2022-02-05 23:17:06 +01:00

TEMPLATE

Homepage Blog Fleet GitHub DockerHub Discord


Sources, GitHub, GitLab and Mirroring and all that good stuff

Repositories on GitHub are now for issues only. I've set up my own installation of GitLab and moved all my repositories over to Git.Griefed.de. Make sure to check there first for the latest code before opening an issue on GitHub.

For questions, you can always join my Discord server and talk to me there.


TEMPLATE

Docker Pulls Docker Image Size (latest by date) Docker Cloud Build Status Docker Cloud Automated build GitHub Repo stars GitHub forks

This is a description.

TEMPLATE

[[TOC]]


Creates a Container which runs CREATOR_NAME's CREATOR_REPO, with lsiobase/alpine as the base image, as seen on EXAMPLE_WEBSITE_IF_EXISTS.

The lsiobase/alpine image is a custom base image built with Alpine linux and S6 overlay. Using this image allows us to use the same user/group ids in the container as on the host, making file transfers much easier

Deployment

Tags Description
latest Using the latest tag will pull the latest image for linux/amd64,linux/arm/v7,linux/arm64.
develop The latest image of, if existent, the in-dev version of this container. Use at your own risk!

Using GitHub Workflows, images for this container are multi-arch. Simply pulling :latest should retrieve the correct image for your architecture. Images are available for linux/amd64,linux/arm/v7,linux/arm64.

pre-built images

version: "2"
services:
  GRIEFED_DOCKERHUB_REPO:
    container_name: GRIEFED_DOCKERHUB_REPO
    restart: on-failure:3
    image: GRIEFED_DOCKERHUB_REPO
    ports:
      - 8080:PORT
    environment:
      - TZ=Europe/Berlin
      - PUID=1000
      - PGID=1000
    volumes:
      - ./path/to/config:/config
      - ./path/to/data:/data  

cli

GET_FROM_FLEET

Configuration

Configuration Explanation
Restart policy "no", always, on-failure, unless-stopped
TZ Timezone
PUID for UserID
PGID for GroupID
ports The port where the service will be available at.

User / Group Identifiers

When using volumes, permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

In this instance PUID=1000 and PGID=1000, to find yours use id user as below:

  $ id username
    uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)

Building the image yourself

Use the Dockerfile to build the image yourself, in case you want to make any changes to it

docker-compose.yml:

version: "2"
services:
  GRIEFED_DOCKERHUB_REPO:
    container_name: GRIEFED_DOCKERHUB_REPO
    restart: on-failure:3
    build: ./GRIEFED_GITHUB_REPO
    ports:
      - 8080:PORT
    environment:
      - TZ=Europe/Berlin
      - PUID=1000
      - PGID=1000
    volumes:
      - ./path/to/config:/config
      - ./path/to/data:/data  
  1. Clone the repository: git clone GRIEFED_GITHUB_REPO.git ./GRIEFED_GITHUB_REPO
  2. Prepare docker-compose.yml file as seen above
  3. docker-compose up -d --build GRIEFED_DOCKERHUB_REPO
  4. Visit IP.ADDRESS.OF.HOST:8080
  5. ???
  6. Profit!