ci(compose): update docker compose deployment examples

This commit is contained in:
Amruth Pillai
2023-11-05 13:38:56 +01:00
parent eef91cf905
commit d113f84c7e
4 changed files with 8 additions and 10 deletions

View File

@ -75,7 +75,7 @@ services:
ACCESS_TOKEN_SECRET: access_token_secret
REFRESH_TOKEN_SECRET: refresh_token_secret
# -- Emails --
SMTP_URL: smtp://user:pass@smtp:587 # Optional
# SMTP_URL: smtp://user:pass@smtp:587 # Optional
# -- Storage (Minio) --
STORAGE_ENDPOINT: minio
STORAGE_PORT: 9000
@ -86,7 +86,7 @@ services:
# -- Cache (Redis) --
REDIS_URL: redis://default:password@redis:6379
# -- Sentry --
SENTRY_DSN: https://id.sentry.io # Optional
# SENTRY_DSN: https://id.sentry.io # Optional
# -- GitHub --
GITHUB_CLIENT_ID: github_client_id
GITHUB_CLIENT_SECRET: github_client_secret

View File

@ -53,9 +53,7 @@ services:
command: redis-server --requirepass password
app:
build:
context: ../..
dockerfile: Dockerfile
image: amruthpillai/reactive-resume
restart: unless-stopped
ports:
- 3000:3000
@ -80,7 +78,7 @@ services:
ACCESS_TOKEN_SECRET: access_token_secret
REFRESH_TOKEN_SECRET: refresh_token_secret
# -- Emails --
SMTP_URL: smtp://user:pass@smtp:587 # Optional
# SMTP_URL: smtp://user:pass@smtp:587 # Optional
# -- Storage (Minio) --
STORAGE_ENDPOINT: minio
STORAGE_PORT: 9000
@ -91,7 +89,7 @@ services:
# -- Cache (Redis) --
REDIS_URL: redis://default:password@redis:6379
# -- Sentry --
SENTRY_DSN: https://id.sentry.io # Optional
# SENTRY_DSN: https://id.sentry.io # Optional
# -- GitHub --
GITHUB_CLIENT_ID: github_client_id
GITHUB_CLIENT_SECRET: github_client_secret