Skip to content

Commit

Permalink
add and edit docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KyoungsueKim committed Jan 12, 2024
1 parent 8c76352 commit f264ffa
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,13 @@
version: '3'
services:
talkable_server:
image: python:3.11.2
verbose-waffle:
image: mindersturmoil/verbose-waffle:5
volumes:
- .:${CONTAINER_BASE_DIR}
working_dir: ${CONTAINER_BASE_DIR}
command: /bin/bash -c "pip install -r services/Talkable_Server/requirements.txt && python services/Talkable_Server/main.py"
depends_on:
- talkable_rdb
- talkable_redis
environment:
- DIR=${CONTAINER_BASE_DIR}
- rdb_hostname=talkable_rdb
- rdb_port=3306
- rdb_user=root
- rdb_password=${rdb_password}
- rdb_database=${rdb_database}
- Talkable_Server_port=${Talkable_Server_port}
- redis_hostname=talkable_redis
- redis_port=6379
- redis_db=0
- complete_queue_name=${complete_queue_name}
- ready_queue_name=${ready_queue_name}
- PYTHONPATH=${PYTHONPATH}:${CONTAINER_BASE_DIR}
- C:\Certbot\archive\kksoft.kr:/etc/letsencrypt/live/kksoft.kr
- ./verbose-waffle:/opt/project/verbose-waffle
working_dir: /
# command: /bin/sh -c "python3 /opt/project/verbose-waffle/main.py"
networks:
- default
ports:
- "${Talkable_Server_port}:20228"
- "64550:64550"

0 comments on commit f264ffa

Please sign in to comment.