digitaldemocratic/docker-compose-parts/api.yml

26 lines
714 B
YAML

---
version: '3.7'
services:
isard-sso-api:
build:
context: ${BUILD_ROOT_PATH}/docker/api
dockerfile: Dockerfile
target: production
args:
DOMAIN: $DOMAIN
container_name: isard-sso-api
volumes:
- /etc/localtime:/etc/localtime:ro
#- ${BUILD_ROOT_PATH}/docker/api/src:/api:rw ## Develop
- ${CUSTOM_PATH}/custom/menu/custom.yaml:/api/custom.yaml
- ${CUSTOM_PATH}/custom/menu/system.yaml:/api/system.yaml
- ${CUSTOM_PATH}/custom/img:/api/api/static/img
- ${DATA_FOLDER}/avatars/:/api/avatars:ro
restart: unless-stopped
networks:
- isard_net
ports:
# - published: 7039
# target: 7039
env_file:
- .env