Compare commits
2
Commits
411bf5b0f2
...
1b8db86a98
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b8db86a98 | ||
|
|
e24078ec81 |
No files matched your search
+11
-11
@@ -10,8 +10,8 @@
|
|||||||
(setq display-line-numbers-type t)
|
(setq display-line-numbers-type t)
|
||||||
|
|
||||||
;; Fonts
|
;; Fonts
|
||||||
(setq doom-font (font-spec :family "Iosevka Nerd Font" :size 15))
|
(setq doom-font (font-spec :family "Iosevka Nerd Font" :size 18))
|
||||||
(setq doom-symbol-font (font-spec :family "Iosevka Nerd Font" :size 15))
|
(setq doom-symbol-font (font-spec :family "Iosevka Nerd Font" :size 18))
|
||||||
|
|
||||||
;; Themeing
|
;; Themeing
|
||||||
;; (use-package base16-theme
|
;; (use-package base16-theme
|
||||||
@@ -74,14 +74,14 @@
|
|||||||
;; -----------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------
|
||||||
;; LSP
|
;; LSP
|
||||||
;; -----------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------
|
||||||
(use-package lsp-mode
|
;; (use-package lsp-mode
|
||||||
:init
|
;; :init
|
||||||
:hook (;;
|
;; :hook (;;
|
||||||
(clojure-mode . lsp-deferred)
|
;; (clojure-mode . lsp-deferred)
|
||||||
(python-mode . lsp-deferred)
|
;; (python-mode . lsp-deferred)
|
||||||
;; if you want which-key integration
|
;; ;; if you want which-key integration
|
||||||
(lsp-mode . lsp-enable-which-key-integration))
|
;; (lsp-mode . lsp-enable-which-key-integration))
|
||||||
:commands (lsp lsp-deferred))
|
;; :commands (lsp lsp-deferred))
|
||||||
|
|
||||||
|
|
||||||
;; -----------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
;; -----------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------
|
||||||
;; Web (HTML + CSS)
|
;; Web (HTML + CSS)
|
||||||
;; -----------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------
|
||||||
(use-package! lsp-tailwindcss)
|
;; (use-package! lsp-tailwindcss)
|
||||||
|
|
||||||
;; -----------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------
|
||||||
;; Org
|
;; Org
|
||||||
|
|||||||
+2
-3
@@ -94,7 +94,7 @@
|
|||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
lsp
|
(lsp +eglot)
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
@@ -155,8 +155,7 @@
|
|||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
(python
|
(python
|
||||||
+lsp
|
+lsp) ; beautiful is better than ugly
|
||||||
+pyright) ; beautiful is better than ugly
|
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
|
|||||||
@@ -0,0 +1,61 @@
|
|||||||
|
job "folkugat" {
|
||||||
|
region = "global"
|
||||||
|
datacenters = ["samfelag"]
|
||||||
|
type = "service"
|
||||||
|
|
||||||
|
group "folkugat" {
|
||||||
|
count = 1
|
||||||
|
|
||||||
|
restart {
|
||||||
|
attempts = 5
|
||||||
|
delay = "15s"
|
||||||
|
}
|
||||||
|
|
||||||
|
network {
|
||||||
|
port "http" {
|
||||||
|
to = 80
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Volumes
|
||||||
|
|
||||||
|
volume "folkugat" {
|
||||||
|
type = "host"
|
||||||
|
read_only = false
|
||||||
|
source = "folkugat"
|
||||||
|
}
|
||||||
|
|
||||||
|
# FOLKUGAT WEB
|
||||||
|
task "folkugat" {
|
||||||
|
driver = "docker"
|
||||||
|
|
||||||
|
env {
|
||||||
|
JWT_SECRET = "12345"
|
||||||
|
ADMIN_PASSWORD = "banshee"
|
||||||
|
DB_DIR = "/folkugat/db"
|
||||||
|
}
|
||||||
|
|
||||||
|
config {
|
||||||
|
image = "marc.sastre.cat/folkugat-web:latest"
|
||||||
|
ports = ["http"]
|
||||||
|
}
|
||||||
|
|
||||||
|
volume_mount {
|
||||||
|
volume = "folkugat"
|
||||||
|
destination = "/folkugat/db"
|
||||||
|
read_only = false
|
||||||
|
}
|
||||||
|
|
||||||
|
resources {
|
||||||
|
cpu = 100
|
||||||
|
memory = 128
|
||||||
|
}
|
||||||
|
|
||||||
|
service {
|
||||||
|
name = "folkugat"
|
||||||
|
port = "http"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user