원 레포랑 완전 분리
This commit is contained in:
24
docker-compose_8889.yml
Normal file
24
docker-compose_8889.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
api_2:
|
||||
build:
|
||||
context: .
|
||||
image: pgn_api
|
||||
container_name: pgn_api_8889
|
||||
volumes:
|
||||
- ./:/workspace
|
||||
ports:
|
||||
- "8889:8889"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Seoul
|
||||
stdin_open: true
|
||||
restart: always
|
||||
tty: true
|
||||
networks:
|
||||
- pgn_net
|
||||
command: sh -c "uvicorn api:app --workers 4 --host 0.0.0.0 --port 8889 --log-config log_config.yaml"
|
||||
|
||||
networks:
|
||||
pgn_net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user