first commit
This commit is contained in:
29
docker-compose.prod.yml
Normal file
29
docker-compose.prod.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
name: customer_gateway
|
||||
services:
|
||||
|
||||
api_prod:
|
||||
restart: always
|
||||
build:
|
||||
context: ../api
|
||||
dockerfile: Dockerfile.prod
|
||||
volumes:
|
||||
- images:/images
|
||||
ports:
|
||||
- '8000:80'
|
||||
env_file:
|
||||
- ../api/.env.prod
|
||||
environment:
|
||||
- MODE=PRODUCTION
|
||||
|
||||
|
||||
frontend_prod:
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../frontend
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- '3000:80'
|
||||
|
||||
volumes:
|
||||
images:
|
||||
Reference in New Issue
Block a user