1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

7 Commits

Author SHA1 Message Date
a53bd39dbd implement frontend routing 2023-06-08 19:17:34 +02:00
1d2e42b737 docker: Switch to distroless (#43)
* docker: Use distroless

Much slimmer, way lesser attack surface

Signed-off-by: baalajimaestro <me@baalajimaestro.me>

* docker: Disable CGO

Isnt needed by our code, and breaks distroless

Signed-off-by: baalajimaestro <me@baalajimaestro.me>

* Uprev mongodb driver

Signed-off-by: baalajimaestro <me@baalajimaestro.me>

* tidy go module

Co-authored-by: Lukas Schulte Pelkum <kbrt@protonmail.com>
2022-04-18 20:06:36 +02:00
befc9615d5 docker: Expose 8080 from dockerfile (#30)
This helps service discovery on traefik, which uses the exposed port to determine where to reverse proxy to

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2021-12-19 13:24:53 +01:00
239ad901dd Implement GitHub actions CI 2021-04-18 21:31:07 +02:00
de2add44ec Bump to Go 1.16 2021-04-15 19:26:17 +02:00
71e6baad95 Add GCC to Dockerfile (cgo) 2020-08-28 19:56:26 +02:00
d70251a4fb Dockerize the application 2020-08-23 21:05:20 +02:00