- Getting containers ready for the cloud
This commit is contained in:
@@ -33,16 +33,17 @@ x-common-variables: &common-variables
|
||||
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
platform: linux/amd64
|
||||
image: josakola/nginx:latest
|
||||
ports:
|
||||
- 80:80
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- ../nginx:/etc/nginx
|
||||
- ../nginx/sites-enabled:/etc/nginx/sites-enabled
|
||||
- ../nginx/static:/etc/nginx/static
|
||||
- ../nginx/public:/etc/nginx/public
|
||||
- ./logs/nginx:/var/log/nginx
|
||||
# - ../nginx:/etc/nginx
|
||||
# - ../nginx/sites-enabled:/etc/nginx/sites-enabled
|
||||
# - ../nginx/static:/etc/nginx/static
|
||||
# - ../nginx/public:/etc/nginx/public
|
||||
- logs:/var/log/nginx
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.api.rule=Host(`evie.askeveai.com`)"
|
||||
@@ -52,13 +53,14 @@ services:
|
||||
- eveai_chat
|
||||
|
||||
eveai_app:
|
||||
platform: linux/amd64
|
||||
image: josakola/eveai_app:latest
|
||||
ports:
|
||||
- 5001:5001
|
||||
environment:
|
||||
<<: *common-variables
|
||||
volumes:
|
||||
- ./logs:/app/logs
|
||||
- logs:/app/logs
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
|
||||
interval: 10s
|
||||
@@ -67,13 +69,14 @@ services:
|
||||
command: ["sh", "-c", "scripts/start_eveai_app.sh"]
|
||||
|
||||
eveai_workers:
|
||||
platform: linux/amd64
|
||||
image: josakola/eveai_workers:latest
|
||||
# ports:
|
||||
# - 5001:5001
|
||||
environment:
|
||||
<<: *common-variables
|
||||
volumes:
|
||||
- ./logs:/app/logs
|
||||
- logs:/app/logs
|
||||
# healthcheck:
|
||||
# test: [ "CMD", "curl", "-f", "http://localhost:5001/health" ]
|
||||
# interval: 10s
|
||||
@@ -82,13 +85,14 @@ services:
|
||||
command: [ "sh", "-c", "scripts/start_eveai_workers.sh" ]
|
||||
|
||||
eveai_chat:
|
||||
platform: linux/amd64
|
||||
image: josakola/eveai_chat:latest
|
||||
ports:
|
||||
- 5002:5002
|
||||
environment:
|
||||
<<: *common-variables
|
||||
volumes:
|
||||
- ./logs:/app/logs
|
||||
- logs:/app/logs
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:5002/health" ] # Adjust based on your health endpoint
|
||||
interval: 10s
|
||||
@@ -97,13 +101,14 @@ services:
|
||||
command: ["sh", "-c", "scripts/start_eveai_chat.sh"]
|
||||
|
||||
eveai_chat_workers:
|
||||
platform: linux/amd64
|
||||
image: josakola/eveai_chat_workers:latest
|
||||
# ports:
|
||||
# - 5001:5001
|
||||
environment:
|
||||
<<: *common-variables
|
||||
volumes:
|
||||
- ./logs:/app/logs
|
||||
- logs:/app/logs
|
||||
# healthcheck:
|
||||
# test: [ "CMD", "curl", "-f", "http://localhost:5001/health" ]
|
||||
# interval: 10s
|
||||
@@ -112,8 +117,9 @@ services:
|
||||
command: [ "sh", "-c", "scripts/start_eveai_chat_workers.sh" ]
|
||||
|
||||
|
||||
#volumes:
|
||||
# minio_data:
|
||||
volumes:
|
||||
logs:
|
||||
# miniAre theo_data:
|
||||
# db-data:
|
||||
# redis-data:
|
||||
# tenant-files:
|
||||
|
||||
Reference in New Issue
Block a user