Skip to content

Commit

Permalink
🤹ci: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
blinko-space committed Oct 27, 2024
1 parent 89386b6 commit f5ed8fc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
56 changes: 28 additions & 28 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
# docker-compose.dev.yml

services:
# blinko-website:
# image: blinkospace/blinko:latest
# container_name: blinko-website
# environment:
# NODE_ENV: production
# NEXTAUTH_URL: http://localhost:1111
# NEXT_PUBLIC_BASE_URL: http://localhost:1111
# NEXTAUTH_SECRET: my_ultra_secure_nextauth_secret
# JWT_SECRET: MBqmAZqgbe0I66Jx3sFd/nMoU3paITpHznScerTHJNo2
# DATABASE_URL: postgresql://postgres:mysecretpassword@postgres:5432/postgres
# depends_on:
# postgres:
# condition: service_healthy
# # volumes:
# # - <your volumn>:/app/.blinko
# restart: always
# logging:
# options:
# max-size: "10m"
# max-file: "3"
# ports:
# - 1111:1111
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:1111/"]
# interval: 30s
# timeout: 10s
# retries: 5
# start_period: 30s
blinko-website:
image: blinkospace/blinko:latest
container_name: blinko-website
environment:
NODE_ENV: production
NEXTAUTH_URL: http://localhost:1111
NEXT_PUBLIC_BASE_URL: http://localhost:1111
NEXTAUTH_SECRET: my_ultra_secure_nextauth_secret
JWT_SECRET: MBqmAZqgbe0I66Jx3sFd/nMoU3paITpHznScerTHJNo2
DATABASE_URL: postgresql://postgres:mysecretpassword@postgres:5432/postgres
depends_on:
postgres:
condition: service_healthy
# volumes:
# - <your volumn>:/app/.blinko
restart: always
logging:
options:
max-size: "10m"
max-file: "3"
ports:
- 1111:1111
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:1111/"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s

postgres:
image: postgres:14
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

echo "Remove the local blinko-website image..."
docker rmi blinko-website || echo "No existing blinko-website image to remove."
docker rmi -f blinkospace/blinko || echo "No existing blinko-website image to remove."

echo "Pull up the latest blinko mirror image..."

Expand Down

0 comments on commit f5ed8fc

Please sign in to comment.