0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/docker-examples/v4/reverse_proxy/nginx/relative_path/docker-compose.yml
Juan Picado 15bb350ae4
feat: improve url_prefix behavior (#2122)
read pr 2122 for more details
2021-03-29 12:32:37 +02:00

30 lines
591 B
YAML

version: '3.1'
services:
nginx:
build:
context: ''
dockerfile: nginx/Dockerfile
ports:
- '80:80'
networks:
- node-network
container_name: 'nginx'
depends_on:
- verdaccio
verdaccio:
image: verdaccio/verdaccio:local
container_name: 'verdaccio_relative_path_v4'
networks:
- node-network
environment:
- VERDACCIO_PORT=4873
- DEBUG=verdaccio*
ports:
- '4873:4873'
volumes:
- './storage:/verdaccio/storage'
- './conf/v4:/verdaccio/conf'
networks:
node-network:
driver: bridge