Updated makefile/dockerfile/compose files
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
version: '3'
|
||||
|
||||
name: weather
|
||||
name: aviation
|
||||
services:
|
||||
db:
|
||||
image: postgis/postgis:latest
|
||||
container_name: weather-db
|
||||
container_name: aviation-db
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
@@ -21,7 +21,7 @@ services:
|
||||
restart: unless-stopped
|
||||
redis:
|
||||
image: redis:latest
|
||||
container_name: weather-redis
|
||||
container_name: aviation-redis
|
||||
volumes:
|
||||
- redis:/data
|
||||
ports:
|
||||
@@ -31,7 +31,7 @@ services:
|
||||
restart: unless-stopped
|
||||
minio:
|
||||
image: minio/minio
|
||||
container_name: weather-minio
|
||||
container_name: aviation-minio
|
||||
environment:
|
||||
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
||||
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
||||
@@ -46,7 +46,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
service:
|
||||
container_name: weather-service
|
||||
container_name: aviation-service
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
@@ -63,9 +63,12 @@ services:
|
||||
- "${SERVICE_PORT:-5000}:5000"
|
||||
build:
|
||||
context: .
|
||||
tags:
|
||||
- aviation-service:${TAG:-latest}
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
- minio
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
Reference in New Issue
Block a user