「🏗️」 wip(Refont): Change the strucuture to be a real projet and will certainly never do bash again
This commit is contained in:
19
.direnv/bin/nix-direnv-reload
Executable file
19
.direnv/bin/nix-direnv-reload
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
if [[ ! -d "/nfs/homes/adjoly/Documents/inception" ]]; then
|
||||||
|
echo "Cannot find source directory; Did you move it?"
|
||||||
|
echo "(Looking for "/nfs/homes/adjoly/Documents/inception")"
|
||||||
|
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# rebuild the cache forcefully
|
||||||
|
_nix_direnv_force_reload=1 direnv exec "/nfs/homes/adjoly/Documents/inception" true
|
||||||
|
|
||||||
|
# Update the mtime for .envrc.
|
||||||
|
# This will cause direnv to reload again - but without re-building.
|
||||||
|
touch "/nfs/homes/adjoly/Documents/inception/.envrc"
|
||||||
|
|
||||||
|
# Also update the timestamp of whatever profile_rc we have.
|
||||||
|
# This makes sure that we know we are up to date.
|
||||||
|
touch -r "/nfs/homes/adjoly/Documents/inception/.envrc" "/nfs/homes/adjoly/Documents/inception/.direnv"/*.rc
|
1
.direnv/flake-inputs/9gh2nirlric6zhn2vhy1hzbsw32w0vyb-source
Symbolic link
1
.direnv/flake-inputs/9gh2nirlric6zhn2vhy1hzbsw32w0vyb-source
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/nix/store/9gh2nirlric6zhn2vhy1hzbsw32w0vyb-source
|
1
.direnv/flake-inputs/apfqvr9kddcl6fscjvb92p4xdrqzcwk0-source
Symbolic link
1
.direnv/flake-inputs/apfqvr9kddcl6fscjvb92p4xdrqzcwk0-source
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/nix/store/apfqvr9kddcl6fscjvb92p4xdrqzcwk0-source
|
1
.direnv/flake-inputs/cbijv55rjxlhm7nsvpzjhq4lrki6gqdb-source
Symbolic link
1
.direnv/flake-inputs/cbijv55rjxlhm7nsvpzjhq4lrki6gqdb-source
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/nix/store/cbijv55rjxlhm7nsvpzjhq4lrki6gqdb-source
|
1
.direnv/flake-inputs/jrlbvfn4aw4k37yz8bz4mmfpqr86f0yl-source
Symbolic link
1
.direnv/flake-inputs/jrlbvfn4aw4k37yz8bz4mmfpqr86f0yl-source
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/nix/store/jrlbvfn4aw4k37yz8bz4mmfpqr86f0yl-source
|
1
.direnv/flake-inputs/s6agnzjr3kg5sayjy0b0ms52bkvifqrv-source
Symbolic link
1
.direnv/flake-inputs/s6agnzjr3kg5sayjy0b0ms52bkvifqrv-source
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/nix/store/s6agnzjr3kg5sayjy0b0ms52bkvifqrv-source
|
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/nix/store/72xrqw4v58lk04brbwazk68yi8yxwn1n-nix-shell-env
|
2042
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
2042
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
File diff suppressed because it is too large
Load Diff
9
cmd/mariadb-entry/mariadb-entry.go
Normal file
9
cmd/mariadb-entry/mariadb-entry.go
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
}
|
9
cmd/nginx-entry/nginx-entry.go
Normal file
9
cmd/nginx-entry/nginx-entry.go
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
}
|
9
cmd/wordpress-entry/wordpress-entry.go
Normal file
9
cmd/wordpress-entry/wordpress-entry.go
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
}
|
@ -19,9 +19,7 @@ VOLUME /var/lib/mysql
|
|||||||
COPY --chmod=0741 healthcheck.sh /healthcheck.sh
|
COPY --chmod=0741 healthcheck.sh /healthcheck.sh
|
||||||
COPY --chmod=0741 docker-entrypoint.sh /docker-entrypoint.sh
|
COPY --chmod=0741 docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
|
||||||
WORKDIR /var/lib/mysql
|
|
||||||
|
|
||||||
USER mysql
|
USER mysql
|
||||||
EXPOSE 3306
|
EXPOSE 3306
|
||||||
CMD [ "mariadbd" ]
|
WORKDIR /var/lib/mysql
|
||||||
|
ENTRYPOINT [ "/docker-entrypoint" ]
|
@ -22,8 +22,9 @@
|
|||||||
|
|
||||||
];
|
];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
go
|
||||||
git
|
git
|
||||||
vault
|
gopls
|
||||||
inputs.pogit.packages.${pkgs.system}.default
|
inputs.pogit.packages.${pkgs.system}.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
exec "$@"
|
|
@ -1,14 +0,0 @@
|
|||||||
# Ubuntu container compatibility
|
|
||||||
|
|
||||||
[mariadb]
|
|
||||||
host-cache-size=0
|
|
||||||
skip-name-resolve
|
|
||||||
|
|
||||||
expire_logs_days=10
|
|
||||||
|
|
||||||
|
|
||||||
[client-server]
|
|
||||||
socket=/run/mariadb/mariadb.sock
|
|
||||||
|
|
||||||
!includedir /etc/mysql/mariadb.conf.d
|
|
||||||
!includedir /etc/mysql/conf.d
|
|
@ -1 +0,0 @@
|
|||||||
#!/bin/sh
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
exec "$@"
|
|
Reference in New Issue
Block a user