Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
003d57d9
Verified
Commit
003d57d9
authored
4 years ago
by
Romain De Laage De Bellefaye
Browse files
Options
Downloads
Patches
Plain Diff
[MastoGem] Bump to v1.0 and use build URL instead of custom image
parent
77a5706a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pica-gemini/docker-compose.yml
+5
-3
5 additions, 3 deletions
pica-gemini/docker-compose.yml
pica-gemini/mastogem/Dockerfile
+0
-22
0 additions, 22 deletions
pica-gemini/mastogem/Dockerfile
pica-gemini/mastogem/start.sh
+0
-12
0 additions, 12 deletions
pica-gemini/mastogem/start.sh
with
5 additions
and
37 deletions
pica-gemini/docker-compose.yml
+
5
−
3
View file @
003d57d9
...
...
@@ -28,14 +28,16 @@ services:
restart
:
unless-stopped
mastogem
:
image
:
registry.picasoft.net/pica-mastogem:
B
1.
1
image
:
registry.picasoft.net/pica-mastogem:1.
0
container_name
:
mastogem
build
:
masto
g
em
build
:
https://git.rdelaage.ovh/rdelaage/
masto
G
em
.git#1.0
volumes
:
-
./certs/key.rsa:/key.rsa:ro
-
./certs/cert-toot.pem:/cert.pem:ro
environment
:
MASTOGEM_CONFIG_PATH
:
/config.json
MASTODON_BASE_URL
:
"
https://mamot.fr"
TITLE
:
"
MastoGem
de
Picasoft"
HOME_MESSAGE
:
"
Bienvenue
sur
le
MastoGem
de
Picasoft,
un
proxy
Mastodon
pour
Gemini.
\n\n
Vous
pouvez
voir
nos
toots
sur
:
\n
=>
/profile/138624
Profil
de
Picasoft"
networks
:
-
gemini
restart
:
unless-stopped
This diff is collapsed.
Click to expand it.
pica-gemini/mastogem/Dockerfile
deleted
100644 → 0
+
0
−
22
View file @
77a5706a
FROM
golang:1.16.0-buster
as
BUILD
ARG
VERSION=B1.1
RUN
apt-get update
&&
\
apt-get
install
-y
curl
&&
\
curl
-L
https://git.rdelaage.ovh/rdelaage/mastoGem/archive/
${
VERSION
}
.tar.gz
-o
mastogem.tar.gz
&&
\
tar
xzvf mastogem.tar.gz
&&
\
cd
mastogem
&&
\
go build
-o
/mastogem
FROM
debian:buster-slim
COPY
--from=BUILD /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY
--from=BUILD /mastogem /mastogem
COPY
start.sh /start.sh
RUN
chmod
+x /start.sh
CMD
"/start.sh"
This diff is collapsed.
Click to expand it.
pica-gemini/mastogem/start.sh
deleted
100644 → 0
+
0
−
12
View file @
77a5706a
cat
<<
EOF
> /config.json
{
"listen": "0.0.0.0:1965",
"cert_path": "/cert.pem",
"key_path": "/key.rsa",
"base_url": "https://mamot.fr",
"title": "MastoGem de Picasoft",
"home_message": "Bienvenue sur le MastoGem de Picasoft, un proxy Mastodon pour Gemini.
\n\n
Vous pouvez voir nos toots sur :
\n
=> /profile/138624 Profil de Picasoft"
}
EOF
/mastogem
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment