0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/docker-examples/v6/reverse_proxy/nginx/relative_path/docker-compose.yml
2021-11-19 15:39:26 +01:00

41 lines
930 B
YAML
Executable file

services:
nginx:
build:
context: ''
dockerfile: nginx/Dockerfile
ports:
- '80:80'
networks:
- node-network
container_name: 'nginx'
depends_on:
- verdaccio
- verdaccio-root
verdaccio:
image: verdaccio/verdaccio:nightly-master
container_name: 'verdaccio_relative_path_v6'
networks:
- node-network
environment:
- VERDACCIO_PORT=4873
- DEBUG=verdaccio:*
ports:
- '4873:4873'
volumes:
- './storage:/verdaccio/storage'
- './conf/v6:/verdaccio/conf'
verdaccio-root:
image: verdaccio/verdaccio:nightly-master
container_name: 'verdaccio_relative_path_v6_root'
networks:
- node-network
environment:
- VERDACCIO_PORT=8000
ports:
- '8000:8000'
volumes:
- './storage:/verdaccio/storage'
- './conf/v6_root:/verdaccio/conf'
networks:
node-network:
driver: bridge