mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
chore: rename compose files and use major release tag for postgres and pgadmin
This commit is contained in:
@@ -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
|
||||||
|
|||||||
8
Makefile
8
Makefile
@@ -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
|
||||||
|
|||||||
@@ -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']
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user