chore: rename compose files and use major release tag for postgres and pgadmin

This commit is contained in:
Sonny
2024-10-07 01:30:18 +02:00
parent 8b57f6dd47
commit f425decf2c
4 changed files with 8 additions and 6 deletions

View File

@@ -13,4 +13,4 @@ DB_PASSWORD=my-links-pwd
DB_DATABASE=my-links DB_DATABASE=my-links
GOOGLE_CLIENT_ID= GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET= GOOGLE_CLIENT_SECRET=
GOOGLE_CLIENT_CALLBACK_URL=http://localhost:3333/auth/callback GOOGLE_CLIENT_CALLBACK_URL=http://localhost:3333/auth/callback

View File

@@ -1,11 +1,13 @@
dev: dev:
@docker compose down @docker compose down
@docker compose -f dev.docker-compose.yml up -d --wait @docker compose -f dev.compose.yml pull
@docker compose -f dev.compose.yml up -d --wait
@node ace migration:fresh @node ace migration:fresh
@pnpm run dev @pnpm run dev
prod: prod:
@docker compose -f dev.docker-compose.yml down @docker compose -f dev.compose.yml down
@docker compose pull
@docker compose up -d --build --wait @docker compose up -d --build --wait
seed: seed:
@@ -13,7 +15,7 @@ seed:
down: down:
@-docker compose down @-docker compose down
@-docker compose -f dev.docker-compose.yml down @-docker compose -f dev.compose.yml down
release: release:
@pnpm run release @pnpm run release

View File

@@ -17,7 +17,7 @@ services:
pgadmin: pgadmin:
container_name: pgadmin container_name: pgadmin
image: dpage/pgadmin4:8.6 image: dpage/pgadmin4:8
restart: always restart: always
healthcheck: healthcheck:
test: ['CMD', 'wget', '-O', '-', 'http://localhost:80/misc/ping'] test: ['CMD', 'wget', '-O', '-', 'http://localhost:80/misc/ping']

View File

@@ -17,7 +17,7 @@ services:
pgadmin: pgadmin:
container_name: pgadmin container_name: pgadmin
image: dpage/pgadmin4:8.6 image: dpage/pgadmin4:8
restart: always restart: always
environment: environment:
- PGADMIN_DEFAULT_EMAIL=myemail@gmail.com - PGADMIN_DEFAULT_EMAIL=myemail@gmail.com