Tom Wiesing
e969351f8e
config/network: Prepare for multiple networks
...
This commit futures proofs the code to allow for usage of more than one
docker network.
2023-03-13 10:11:28 +01:00
Tom Wiesing
9d74397512
Remove config-migrate command
2023-03-08 12:49:15 +01:00
Tom Wiesing
840efd5c03
config: Remove erronous yaml entries
2023-03-08 12:25:32 +01:00
Tom Wiesing
7371cc2163
internal/config/config: Remove unuused field
2023-03-08 12:09:17 +01:00
Tom Wiesing
f0073a649f
Multiplex http and ssh ports
2023-03-08 11:27:19 +01:00
Tom Wiesing
473040a69f
Remove environment.Environment struct
...
This commit completely removes the environment struct as it is no longer
used.
2023-03-02 12:52:51 +01:00
Tom Wiesing
3263920d6b
fsx: Remove environment references
...
This commit removes the reference to the environment from the fsx
package.
2023-03-02 11:51:51 +01:00
Tom Wiesing
14bb7f1086
pkg/environment: Remove exec related functions
...
This commit starts the migration to remove the environment package. It
introduced an abstraction that is not being used, and removing it makes
the code simpler to maintain.
This commit removes all 'exec' related package.
2023-03-02 11:03:33 +01:00
Tom Wiesing
eec8b89e06
admin/index.html: Display config as yaml
2023-02-26 19:21:42 +01:00
Tom Wiesing
2edd0f2fe2
internal/config/template: Cleanup
...
This commit cleans up the internal/config/template to remove code no
longer used because of the new configuration.
2023-02-26 10:46:10 +01:00
Tom Wiesing
aa3580c248
Migrat pkg/password to using pkglib package
2023-02-26 10:24:06 +01:00
Tom Wiesing
c3ca8e2974
Move to github.com/tkw1536/pkglib package
...
This commit removes various modules that can be migrated to the
github.com/tkw1536/pkglib package without any code changes (beyond
module renamings).
2023-02-26 09:53:25 +01:00
Tom Wiesing
30c25b8e2a
config: Properly use yaml template
2023-02-25 20:26:54 +01:00
Tom Wiesing
945329a080
Move to yaml-based configuration
...
This commit updates the configuration to be yaml-based and updates the
configuration to read in a yaml file.
2023-02-25 09:14:56 +01:00
Tom Wiesing
a63bb2f669
pkg/pools: Use pool for strings.Builder everywhere
2023-01-24 10:52:15 +01:00
Tom Wiesing
bcd1805001
Add SSH Key Management
2023-01-15 19:41:00 +01:00
Tom Wiesing
1caecc0f19
Use authentication for Distillery control page
2023-01-06 18:59:09 +01:00
Tom Wiesing
1af9d0d83f
auth/login: Add csrf protection
2023-01-06 18:59:08 +01:00
Tom Wiesing
3aa79b0d23
Implement initial login functionality
2023-01-06 18:59:06 +01:00
Tom Wiesing
52dbfbf56e
Add Cron interval to config
2022-12-07 11:02:44 +01:00
Tom Wiesing
55d5c9c529
config: Handle errors better
2022-11-23 15:27:58 +01:00
Tom Wiesing
4752c0fcec
Make SSH_PORT configurable
2022-11-17 09:43:01 +01:00
Tom Wiesing
10df1c3243
Move internal/core => internal/cli
2022-11-16 13:07:13 +01:00
Tom Wiesing
f8dd6cb956
Remove unuused legacy https functionality
2022-11-16 13:07:09 +01:00
Tom Wiesing
471ccbadc5
Move to Traefik
2022-11-16 13:07:09 +01:00
Tom Wiesing
3d4db1744b
internal/home: Add a status page on home
2022-11-16 13:07:07 +01:00
Tom Wiesing
845e927117
control: Move serves into a separate components
2022-10-04 11:36:45 +02:00
Tom Wiesing
3be5e85ef7
prefixes: Add 'resolver-blocked.txt' config
2022-09-21 16:04:22 +02:00
Tom Wiesing
07409a01be
Cleanup and document hacky sql interaction
2022-09-19 23:16:56 +02:00
Tom Wiesing
881b538dff
Make 'system_update' more generic
2022-09-19 14:56:46 +02:00
Tom Wiesing
f19619ef9f
Add 'environment' package
...
This commit adds a new environment package that manages all calls to the
underlying operating system.
2022-09-18 14:24:22 +02:00
Tom Wiesing
492a0c0404
component/dis: Check if instance alive
2022-09-15 18:11:19 +02:00
Tom Wiesing
47aeb05c82
Rework templating for bootstrap
2022-09-15 16:57:15 +02:00
Tom Wiesing
f5f2ac1a03
Merge all the server components
2022-09-15 15:12:48 +02:00
Tom Wiesing
feacd4eeae
Move runtime around
2022-09-14 14:42:21 +02:00
Tom Wiesing
ef1243ea39
Rename packages
2022-09-14 14:17:08 +02:00
Tom Wiesing
94263174cf
Minor refactor in 'core' package
2022-09-13 09:52:37 +02:00
Tom Wiesing
a360324f62
Refactor Package structure
...
This commit cleans up the package structure, to make two new top-level
packages `internal` (for internal-use packages) and `pkg` (for general
shared utility code).
2022-09-12 15:42:21 +02:00
Tom Wiesing
8210612198
Lots of internal cleanup
2022-09-12 11:15:52 +02:00
Tom Wiesing
7b2f79bea1
Move code into new component package
...
This commit cleans up the resources in the 'embed' package, and instead
moves them into subpackages of a new 'compose' package. This makes sure
that '.env' templates and docker compose contexts are located in the
same location.
2022-09-11 15:41:11 +02:00
Tom Wiesing
4b357476a3
Add 'dis' component
...
This commit adds a new 'dis' component to the distillery that serves a
list of all known instances for the moment.
2022-09-09 17:10:24 +02:00
Tom Wiesing
4bffc9e92a
backup: Prune old backups
...
This commit updates the backup command to prune old backups.
2022-09-08 14:39:05 +02:00
Tom Wiesing
7b38fdd801
Do a large chunk of the move to go
...
This commit moves a huge chunk of the code to go. The TODO.md document
indicates what is left to be done.
2022-09-08 14:39:04 +02:00