You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
550 B
29 lines
550 B
version: '3.5'
|
|
|
|
x-frontend-variables: &frontend-variables
|
|
DOMAIN: "${DOMAIN}"
|
|
REACT_APP_DOMAIN_URL: "https://${DOMAIN}/"
|
|
|
|
|
|
services:
|
|
frontend:
|
|
container_name: ${CONTAINERS_NAME}_frontend
|
|
build: postamates_frontend
|
|
volumes:
|
|
- ./dist/:/usr/src/postamates_frontend/dist/
|
|
command:
|
|
sh -c "yarn build"
|
|
environment:
|
|
<<: *frontend-variables
|
|
depends_on:
|
|
- db
|
|
- martin
|
|
- django
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 4096M
|
|
reservations:
|
|
memory: 4096M
|
|
|