Fixing loading in docker environment, updated markers

This commit is contained in:
2025-04-11 13:36:59 -04:00
parent 98887d7fef
commit ecd01bd49c
14 changed files with 282 additions and 186 deletions

View File

@@ -7,8 +7,11 @@ x-env_file: &env
name: aviation
services:
httpd:
build: ./httpd
image: aviation-httpd:latest
container_name: aviation-httpd
build:
context: ./httpd
dockerfile: Dockerfile
env_file: *env
ports:
- "${HTTPD_HTTP_PORT:-8080}:80"
@@ -61,6 +64,8 @@ services:
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
MINIO_BROWSER_REDIRECT_URL: ${MINIO_BROWSER_REDIRECT_URL}
MINIO_BROWSER_LOGIN_ANIMATION: false
volumes:
- minio:/data
ports:
@@ -74,13 +79,21 @@ services:
restart: unless-stopped
api:
image: aviation-api:latest
container_name: aviation-api
env_file: *env
ports:
- "${API_PORT:-5000}:5000"
build:
context: ./api
dockerfile: Dockerfile
env_file: *env
environment:
POSTGRES_HOST: aviation-postgres
POSTGRES_PORT: 5432
REDIS_HOST: aviation-redis
REDIS_PORT: 6379
MINIO_HOST: aviation-minio
MINIO_PORT: 9000
ports:
- "${API_PORT:-5000}:5000"
depends_on:
- postgres
- redis
@@ -93,15 +106,16 @@ services:
restart: unless-stopped
ui:
image: aviation-ui:latest
container_name: aviation-ui
build:
context: ./ui
dockerfile: Dockerfile
env_file: *env
environment:
- NODE_ENV=${NODE_ENV:-development}
ports:
- "${UI_PORT:-3000}:3000"
build:
context: ./ui
dockerfile: Dockerfile
volumes:
- ./ui/src:/app/src
- ./ui/public:/app/public