nginx
This commit is contained in:
14
prod.yml
14
prod.yml
@ -9,19 +9,13 @@ services:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_DB=flask
|
||||
- PYTHONBUFFERED=0
|
||||
react:
|
||||
nginx:
|
||||
build:
|
||||
context: react
|
||||
dockerfile: prod.Dockerfile
|
||||
ports:
|
||||
- "3000"
|
||||
dockerfile: Dockerfile.react-prod
|
||||
volumes:
|
||||
- ./static:/static
|
||||
environment:
|
||||
- REACT_APP_DOMAIN=ovz1.ollyhearn.gmzem.vps.myjino.ru
|
||||
nginx:
|
||||
image: nginx:1.23.4
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./static:/static
|
||||
depends_on:
|
||||
- api
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user