Skip to content
Snippets Groups Projects
Commit d2ba7299 authored by Elliott Shugerman's avatar Elliott Shugerman
Browse files

more test env stuff

parent 6079480a
No related branches found
No related tags found
No related merge requests found
.idea
.env
\ No newline at end of file
.env
test/.env
/test/.direnv/
use flake
if [ ! -f .env ]; then
cp example.env .env
fi
services:
postgres:
image: 'postgres:${POSTGRES_VERSION}'
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
backup:
build:
context: '..'
args:
ALPINE_VERSION: '${ALPINE_VERSION}'
environment:
# test constants
POSTGRES_HOST: postgres
POSTGRES_DATABASE: postgres
POSTGRES_USER: user
POSTGRES_PASSWORD: password
S3_ACCESS_KEY_ID:
S3_SECRET_ACCESS_KEY:
S3_REGION:
S3_BUCKET:
# test variables
PASSPHRASE:
SCHEDULE:
BACKUP_KEEP_DAYS:
S3_PREFIX:
S3_ACCESS_KEY_ID=""
S3_SECRET_ACCESS_KEY=""
S3_REGION=""
S3_BUCKET=""
......@@ -8,6 +8,7 @@
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
nushell
docker
];
};
});
......
with-env { POSTGRES_VERSION: "15", ALPINE_VERSION: "3.17" } {
docker compose --progress=plain up
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment