You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
593 B
YAML

version: '3.8'
services:
npm:
image: '${NPM_IMAGE}-step-ca:${NPM_VERSION}'
container_name: npm
hostname: ${NPM_HOSTNAME}.${DOMAIN_NAME}
restart: unless-stopped
build:
context: ./
args:
NPM_IMAGE: ${NPM_IMAGE}
NPM_VERSION: ${NPM_VERSION}
NPM_HOSTNAME: ${NPM_HOSTNAME}
DOMAIN_NAME: ${DOMAIN_NAME}
CA_HOSTNAME: ${CA_HOSTNAME}
ports:
- '80:80'
- '443:443'
- '81:81'
environment:
DISABLE_IPV6: 'true'
volumes:
- ./data/npm-data:/data
- ./data/npm-letsencrypt:/etc/letsencrypt