mirror of
https://github.com/jbowdre/capsule.git
synced 2024-12-25 01:22:19 +00:00
add agate docker config
This commit is contained in:
parent
67f77fad54
commit
a70c5b60d1
3 changed files with 24 additions and 0 deletions
7
agate/Dockerfile
Normal file
7
agate/Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
FROM rust:latest
|
||||
|
||||
RUN cargo install agate
|
||||
|
||||
WORKDIR /var/agate
|
||||
|
||||
ENTRYPOINT ["agate"]
|
5
agate/README.md
Normal file
5
agate/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Agate
|
||||
|
||||
[Agate](https://github.com/mbrubeck/agate) is a simple Gemini server for static files.
|
||||
|
||||
This folder holds the Docker config that I use to manage my Agate server and serve my Capsule.
|
12
agate/docker-compose.yaml
Normal file
12
agate/docker-compose.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
agate:
|
||||
restart: always
|
||||
build: .
|
||||
container_name: agate
|
||||
volumes:
|
||||
- ./content:/var/agate/content
|
||||
- ./certs:/var/agate/certs
|
||||
ports:
|
||||
- "1965:1965"
|
||||
command: --content content --certs certs --addr 0.0.0.0:1965 --hostname gmi.runtimeterror.dev --hostname capsule.jbowdre.lol --lang en-US
|
Loading…
Reference in a new issue