Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(#84): jib build #85

Merged
merged 2 commits into from
Oct 23, 2023
Merged

chore(#84): jib build #85

merged 2 commits into from
Oct 23, 2023

Conversation

ghdcksgml1
Copy link
Owner

๐Ÿ“ docker-compose.yml

version: "3"
services:
  auth:
    image: ghdcksgml1/heachi-auth
    container_name: auth
    restart: unless-stopped
    ports:
      - "8080:8080"
    depends_on:
      - mysql
      - redis
    volumes:
      - ./log/auth/:/log

  notify:
    image: ghdcksgml1/heachi-notify
    container_name: notify
    restart: unless-stopped
    ports:
      - "8001:8001"
    depends_on:
      - mongodb
    volumes:
      - ./log/notify/:/log

  housework:
    image: ghdcksgml1/heachi-housework
    container_name: housework
    restart: unless-stopped
    ports:
      - "8000:8000"
    depends_on:
      - mysql
      - redis
    volumes:
      - ./log/housework/:/log

  mongodb:
    image: mongo:4.4
    container_name: mongodb
    restart: unless-stopped
    ports:
      - "27017"
    volumes:
      - ./volumes/mongodb:/data/db
    environment:
      - MONGO_INITDB_ROOT_USERNAME={ ์œ ์ €์ด๋ฆ„ }
      - MONGO_INITDB_ROOT_PASSWORD={ ๋น„๋ฐ€๋ฒˆํ˜ธ }
      - MONGO_INITDB_DATABASE={ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ด๋ฆ„ }

  mysql:
    image: mysql:8.0.32
    container_name: mysql
    restart: unless-stopped
    ports:
      - "3306"
    volumes:
      - ./volumes/mysql:/var/lib/mysql
    environment:
      - MYSQL_HOST=localhost
      - MYSQL_PORT=3306
      - MYSQL_ROOT_PASSWORD={ ๋น„๋ฐ€๋ฒˆํ˜ธ }

  redis:
    image: redis:6.0
    container_name: redis
    command: redis-server --port 6379
    ports:
      - "6379"
    restart: unless-stopped
    volumes:
      - ./volumes/redis:/data

networks:
  nbbang-network:
    driver: bridge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant