use new env path and internal_net

This commit is contained in:
SrGooglo 2023-05-31 19:40:43 +00:00
parent e350968076
commit ed6807ec5e

View File

@ -9,44 +9,59 @@ services:
api: api:
build: packages/server build: packages/server
restart: unless-stopped restart: unless-stopped
networks:
- internal_network
ports: ports:
- "5000:3010" - "5000:3010"
env_file: env_file:
- api.env - ./env_files/api.production.env
volumes: volumes:
- ./d_data/api/cache:/home/node/app/cache - ./d_data/api/cache:/home/node/app/cache
chat_server: chat_server:
build: packages/chat_server build: packages/chat_server
restart: unless-stopped restart: unless-stopped
networks:
- internal_network
ports: ports:
- "5001:3020" - "5001:3020"
env_file: env_file:
- chat.env - ./env_files/chat.production.env
marketplace_server: marketplace_server:
build: packages/marketplace_server build: packages/marketplace_server
restart: unless-stopped restart: unless-stopped
networks:
- internal_network
ports: ports:
- "5002:3040" - "5002:3040"
env_file: env_file:
- marketplace.env - ./env_files/marketplace.production.env
music_server: music_server:
build: packages/music_server build: packages/music_server
restart: unless-stopped restart: unless-stopped
networks:
- internal_network
ports: ports:
- "5003:3050" - "5003:3050"
env_file: env_file:
- music.env - ./env_files/music.production.env
file_server: file_server:
build: packages/file_server build: packages/file_server
restart: unless-stopped restart: unless-stopped
networks:
- internal_network
ports: ports:
- "5004:3060" - "5004:3060"
env_file: env_file:
- file.env - ./env_files/file.production.env
redis: redis:
image: redis/redis-stack-server:latest image: redis/redis-stack-server:latest
restart: unless-stopped restart: unless-stopped
networks:
- internal_network
env_file: env_file:
- redis.env - ./env_files/redis.env
ports: ports:
- "6379:6379" - "6379:6379"
networks:
internal_network: