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
|
||||
migrate:
|
||||
image: imen-migrate
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/api.Dockerfile
|
||||
@@ -50,6 +51,7 @@ services:
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
||||
|
||||
api:
|
||||
image: imen-api
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/api.Dockerfile
|
||||
@@ -82,6 +84,7 @@ services:
|
||||
ADMIN_NAME: ${ADMIN_NAME:-مدیر سایت}
|
||||
|
||||
web:
|
||||
image: imen-web
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/web.Dockerfile
|
||||
@@ -96,6 +99,7 @@ services:
|
||||
NUXT_PUBLIC_SITE_URL: https://${SITE_DOMAIN}
|
||||
|
||||
admin:
|
||||
image: imen-admin
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/admin.Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user