digitaldemocratic/docker-compose-parts/admin.yml

25 lines
617 B
YAML

version: '3.7'
services:
dd-admin:
container_name: dd-admin
build:
context: ${BUILD_ROOT_PATH}
dockerfile: admin/docker/Dockerfile
target: production
args: ## DEVELOPMENT
SSH_ROOT_PWD: ${IPA_ADMIN_PWD}
SSH_PORT: 2022
networks:
- isard_net
ports:
- "2022:22"
# - "9000:9000"
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- ${BUILD_ROOT_PATH}/admin/src:/admin # Revome in production
- ${BUILD_ROOT_PATH}/custom:/admin/custom #:ro in production
env_file:
- .env
command: sleep infinity