mirror of
https://github.com/cupcakearmy/docker-radicale.git
synced 2024-12-21 15:36:24 +00:00
update version
This commit is contained in:
parent
af463491b8
commit
576e393de4
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*
|
||||||
|
!/entrypoint.sh
|
||||||
|
!/config
|
13
.github/workflows/docker.yml
vendored
13
.github/workflows/docker.yml
vendored
@ -11,12 +11,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Docker Labels
|
- name: Docker Labels
|
||||||
id: meta
|
id: meta
|
||||||
uses: crazy-max/ghaction-docker-meta@v2
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: cupcakearmy/radicale
|
images: cupcakearmy/radicale
|
||||||
tags: |
|
tags: |
|
||||||
@ -24,16 +24,13 @@ jobs:
|
|||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
id: docker_build
|
uses: docker/build-push-action@v3
|
||||||
uses: docker/build-push-action@v2
|
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
- name: Image digest
|
|
||||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
|
||||||
|
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.0.3] - 2022-06-27
|
||||||
|
|
||||||
|
### Security
|
||||||
|
|
||||||
|
- Updated Radicale version to `3.1.7`.
|
||||||
|
|
||||||
## [1.0.2] - 2022-02-07
|
## [1.0.2] - 2022-02-07
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
@ -2,7 +2,7 @@ FROM python:3-alpine as builder
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ARG RADICALE_VERSION=3.1.4
|
ARG RADICALE_VERSION=3.1.7
|
||||||
|
|
||||||
RUN apk add --no-cache alpine-sdk libffi-dev
|
RUN apk add --no-cache alpine-sdk libffi-dev
|
||||||
RUN pip install --user radicale[bcrypt]==$RADICALE_VERSION
|
RUN pip install --user radicale[bcrypt]==$RADICALE_VERSION
|
||||||
|
24
README.md
24
README.md
@ -7,15 +7,15 @@ This is a small docker image for [Radicale](https://github.com/Kozea/Radicale) a
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```
|
```sh
|
||||||
# .env
|
# .env
|
||||||
USER=foo
|
USER=foo
|
||||||
PASSWORD=secret
|
PASSWORD=secret
|
||||||
```
|
```
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
# docker-compose.yml
|
# docker-compose.yml
|
||||||
version: '3.7'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
@ -42,27 +42,27 @@ The same setup works for Calendar and on iOS.
|
|||||||
|
|
||||||
An example for traefik (v1) can found below.
|
An example for traefik (v1) can found below.
|
||||||
|
|
||||||
```yml
|
```yaml
|
||||||
version: '3.7'
|
version: '3.8'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/radicale
|
image: cupcakearmy/radicale:1
|
||||||
|
restart: unless-stopped
|
||||||
env_file: .env
|
env_file: .env
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- proxy
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.backend=radicale
|
- traefik.http.routers.radicale.rule=Host(`radicale.example.org`)
|
||||||
- traefik.frontend.rule=Host:radicale.example.org
|
- traefik.http.routers.radicale.entrypoints=secure
|
||||||
- traefik.docker.network=traefik
|
- traefik.http.routers.radicale.tls.certresolver=le
|
||||||
- traefik.port=5232
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Customize
|
## Customize
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
version: '3.7'
|
# Only for development, see README.md for production
|
||||||
|
|
||||||
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
|
Loading…
Reference in New Issue
Block a user