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

docker-compose 로 yona 1.14 한방에 올리기 #19

Open
doortts opened this issue Mar 10, 2020 · 1 comment
Open

docker-compose 로 yona 1.14 한방에 올리기 #19

doortts opened this issue Mar 10, 2020 · 1 comment

Comments

@doortts
Copy link

doortts commented Mar 10, 2020

@witbox (witbox) 님이 작성한 이슈입니다.
---

docker-compose

# cat docker-compose.yml

version: '3.1'
services:
  yona-mariadb:
    image: witbox/mariadb:10.3-focal
    container_name : yona_mariadb
    networks:
    - yona
    environment:
      MYSQL_DATABASE: yona
      MYSQL_USER: yona
      MYSQL_PASSWORD: jonathan
      MYSQL_ROOT_PASSWORD: jonathan
    volumes:
    - ./mysql:/var/lib/mysql

  yona:
    image: witbox/yona:1.14.0
    restart: always
    container_name : yona
    ports:
    - "9000:9000"
    networks:
    - yona
    depends_on:
    - yona_mariadb
    environment:
      YONA_DATA : /yona/data
    volumes     :
    - ./data:/yona/data

  adminer:
    image: adminer
    container_name: yona_adminer
    restart: always
    networks:
    - yona
    ports:
    - 9001:8080
networks :
  yona :

docker-compose up

# docker-compose up

에러 확인 후 ctrl + c 로 docker 종료

application.conf 수정

DB 연결 및 설정 변경

docker-compose up

# docker-compose up -d

yona start

http://server-ip:9000/

@doortts
Copy link
Author

doortts commented Mar 10, 2023

@bccai515 (띵라야) 님이 작성한 코멘트입니다.
---

blake@chaeui-MacBookPro  ~/IdeaProjects/docker-yona   master ±  docker-compose up
service "yona" depends on undefined service yona_mariadb: invalid compose project

이런 에러가 뜨네요.
빌드 순서가 잘못된듯

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

No branches or pull requests

1 participant