chore(compose): specify fixed image names for deploy loading
This commit is contained in:
@@ -36,6 +36,7 @@ services:
|
|||||||
|
|
||||||
# runs pending database migrations, then exits; api starts after it succeeds
|
# runs pending database migrations, then exits; api starts after it succeeds
|
||||||
migrate:
|
migrate:
|
||||||
|
image: imen-migrate
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/api.Dockerfile
|
dockerfile: docker/api.Dockerfile
|
||||||
@@ -50,6 +51,7 @@ services:
|
|||||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
||||||
|
|
||||||
api:
|
api:
|
||||||
|
image: imen-api
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/api.Dockerfile
|
dockerfile: docker/api.Dockerfile
|
||||||
@@ -82,6 +84,7 @@ services:
|
|||||||
ADMIN_NAME: ${ADMIN_NAME:-مدیر سایت}
|
ADMIN_NAME: ${ADMIN_NAME:-مدیر سایت}
|
||||||
|
|
||||||
web:
|
web:
|
||||||
|
image: imen-web
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/web.Dockerfile
|
dockerfile: docker/web.Dockerfile
|
||||||
@@ -96,6 +99,7 @@ services:
|
|||||||
NUXT_PUBLIC_SITE_URL: https://${SITE_DOMAIN}
|
NUXT_PUBLIC_SITE_URL: https://${SITE_DOMAIN}
|
||||||
|
|
||||||
admin:
|
admin:
|
||||||
|
image: imen-admin
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/admin.Dockerfile
|
dockerfile: docker/admin.Dockerfile
|
||||||
|
|||||||
Reference in New Issue
Block a user