Initial import
This commit is contained in:
commit
b042d128fc
4
.envrc.sample
Normal file
4
.envrc.sample
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export SERVICE=selfoss
|
||||||
|
export DOMAIN=reader.example.com
|
||||||
|
export STACK_NAME=selfoss
|
||||||
|
export LETS_ENCRYPT_ENV=production
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/.envrc
|
19
README.md
Normal file
19
README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# selfoss
|
||||||
|
|
||||||
|
[Selfoss][selfoss] RSS reader using Coöp Cloud ♥
|
||||||
|
|
||||||
|
NOTE: this set-up currently has NO AUTHENTICATION and is probably not ready for
|
||||||
|
production use.
|
||||||
|
|
||||||
|
1. Set up Docker Swarm and [`abra`][abra]
|
||||||
|
2. Deploy [`compose-stacks/traefik`][compose-traefik]
|
||||||
|
3. `cp .envrc.sample .envrc`
|
||||||
|
4. Edit `.envrc` - be sure to change `$DOMAIN` to something that resolves to
|
||||||
|
your Docker swarm box
|
||||||
|
5. `direnv allow` (or `. .envrc`)
|
||||||
|
6. `abra deploy`
|
||||||
|
8. Open the configured domain in your browser to finish set-up
|
||||||
|
|
||||||
|
[selfoss]: https://www.selfoss.aditu.de/
|
||||||
|
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||||
|
[compose-traefik]: https://git.autonomic.zone/compose-stacks/traefik
|
27
compose.yml
Normal file
27
compose.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
version: '3.3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
selfoss:
|
||||||
|
image: akito13/selfoss
|
||||||
|
volumes:
|
||||||
|
- selfoss:/selfoss/data
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.docker.network=proxy
|
||||||
|
- traefik.http.routers.${STACK_NAME}-http.rule=Host(`${DOMAIN?Variable not set}`)
|
||||||
|
- traefik.http.routers.${STACK_NAME}-http.entrypoints=web
|
||||||
|
- traefik.http.routers.${STACK_NAME}-https.rule=Host(`${DOMAIN?Variable not set}`)
|
||||||
|
- traefik.http.routers.${STACK_NAME}-https.entrypoints=web-secure
|
||||||
|
- traefik.http.routers.${STACK_NAME}-https.tls=true
|
||||||
|
- traefik.http.routers.${STACK_NAME}-https.tls.certresolver=${LETS_ENCRYPT_ENV}
|
||||||
|
- traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8888
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
selfoss:
|
Loading…
Reference in New Issue
Block a user