Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b8db86a98 | ||
|
|
e24078ec81 |
No files matched your search
+11
-11
@@ -10,8 +10,8 @@
|
||||
(setq display-line-numbers-type t)
|
||||
|
||||
;; Fonts
|
||||
(setq doom-font (font-spec :family "Iosevka Nerd Font" :size 15))
|
||||
(setq doom-symbol-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 18))
|
||||
|
||||
;; Themeing
|
||||
;; (use-package base16-theme
|
||||
@@ -74,14 +74,14 @@
|
||||
;; -----------------------------------------------------------------------------
|
||||
;; LSP
|
||||
;; -----------------------------------------------------------------------------
|
||||
(use-package lsp-mode
|
||||
:init
|
||||
:hook (;;
|
||||
(clojure-mode . lsp-deferred)
|
||||
(python-mode . lsp-deferred)
|
||||
;; if you want which-key integration
|
||||
(lsp-mode . lsp-enable-which-key-integration))
|
||||
:commands (lsp lsp-deferred))
|
||||
;; (use-package lsp-mode
|
||||
;; :init
|
||||
;; :hook (;;
|
||||
;; (clojure-mode . lsp-deferred)
|
||||
;; (python-mode . lsp-deferred)
|
||||
;; ;; if you want which-key integration
|
||||
;; (lsp-mode . lsp-enable-which-key-integration))
|
||||
;; :commands (lsp lsp-deferred))
|
||||
|
||||
|
||||
;; -----------------------------------------------------------------------------
|
||||
@@ -109,7 +109,7 @@
|
||||
;; -----------------------------------------------------------------------------
|
||||
;; Web (HTML + CSS)
|
||||
;; -----------------------------------------------------------------------------
|
||||
(use-package! lsp-tailwindcss)
|
||||
;; (use-package! lsp-tailwindcss)
|
||||
|
||||
;; -----------------------------------------------------------------------------
|
||||
;; Org
|
||||
|
||||
+2
-3
@@ -94,7 +94,7 @@
|
||||
(eval +overlay) ; run code, run (also, repls)
|
||||
;;gist ; interacting with github gists
|
||||
lookup ; navigate your code and its documentation
|
||||
lsp
|
||||
(lsp +eglot)
|
||||
magit ; a git porcelain for Emacs
|
||||
;;make ; run make tasks from Emacs
|
||||
;;pass ; password manager for nerds
|
||||
@@ -155,8 +155,7 @@
|
||||
;;plantuml ; diagrams for confusing people more
|
||||
;;purescript ; javascript, but functional
|
||||
(python
|
||||
+lsp
|
||||
+pyright) ; beautiful is better than ugly
|
||||
+lsp) ; beautiful is better than ugly
|
||||
;;qt ; the 'cutest' gui framework ever
|
||||
;;racket ; a DSL for DSLs
|
||||
;;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