commit a301afd5d7d65b124074bc28945efa7e695428ce Author: legonzaur Date: Sun Jun 1 14:13:10 2025 +0200 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/back.container b/back.container new file mode 100644 index 0000000..c9fe57d --- /dev/null +++ b/back.container @@ -0,0 +1,11 @@ +[Container] +Image=git.legonzaur.fr/legonzaur/vote-back:latest +Environment=API_PREFIX=/api +Environment=DEV_MODE=false +EnvironmentFile=./.env +Pod=vote.pod + +[Service] +Restart=always +[Install] +WantedBy=default.target \ No newline at end of file diff --git a/front.container b/front.container new file mode 100644 index 0000000..96e7583 --- /dev/null +++ b/front.container @@ -0,0 +1,11 @@ +[Container] +Image=git.legonzaur.fr/legonzaur/vote-front:latest +Environment=NUXT_PUBLIC_API_BASE=/api +Environment=PORT=3001 +Pod=vote.pod + +[Service] +Restart=always + +[Install] +WantedBy=default.target \ No newline at end of file diff --git a/postgres.container b/postgres.container new file mode 100644 index 0000000..ce54736 --- /dev/null +++ b/postgres.container @@ -0,0 +1,10 @@ +[Container] +Image=docker.io/library/postgres:17 +Volume=%h/volumes/bdd-pg17:/var/lib/postgresql/data:Z +Environment=POSTGRES_PASSWORD=SUPERMDP +HostName=postgres + +[Service] +Restart=always +[Install] +WantedBy=default.target \ No newline at end of file diff --git a/postgres.volume b/postgres.volume new file mode 100644 index 0000000..e69de29 diff --git a/vote.pod b/vote.pod new file mode 100644 index 0000000..e69de29