Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
some notes on theming
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed May 11, 2019
1 parent cdd899e commit 7dac0f5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions jenkins-ropensci-theme.css

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions install.md → jenkins.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Docker Compose
# Jenkins Server via Docker Compose

Configuration of server looks like this:

```
/docs -> data:/docs
/src -> data:/ser
/src -> data:/src
/* -> jenkins
```

Expand All @@ -23,6 +23,12 @@ docker volume create data
docker-compose up
```

On most servers you also need this to give Jenkins permission to run docker (see permission section below):

```
docker exec -u root jenkins chmod 777 /var/run/docker.sock
```

Now navigate to `http://localhost` (or where you are hosting). To unlock Jenkins you need the initial password which you can find with:

```
Expand Down Expand Up @@ -108,4 +114,8 @@ docker exec -u root jenkins chmod 777 /var/run/docker.sock

This should be solved by adding the `jenkins` user to the `docker` group, but that doesn't always seem to work (at least not on Docker for Mac).

## Custom Theme

The [Simple Theme Plugin](https://wiki.jenkins.io/display/JENKINS/Simple+Theme+Plugin) (not installed by default) allows for adding a CSS file to display custom colors and logo.

I used the [material-theme](http://afonsof.com/jenkins-material-theme/) website to generate [jenkins-ropensci-theme.css](jenkins-ropensci-theme.css) which you can host from anywhere.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ docker volume rm data

## Docker Compose

Checkout [install.md](install.md) for a production setup.
Checkout [jenkins.md](jenkins.md) for how to setup a Jenkins server.

0 comments on commit 7dac0f5

Please sign in to comment.