mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
31 lines
592 B
YAML
31 lines
592 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_v5'
|
||
|
networks:
|
||
|
- node-network
|
||
|
environment:
|
||
|
- VERDACCIO_PORT=4873
|
||
|
- DEBUG=verdaccio:*
|
||
|
ports:
|
||
|
- '4873:4873'
|
||
|
volumes:
|
||
|
- './storage:/verdaccio/storage'
|
||
|
- './conf/v5:/verdaccio/conf'
|
||
|
networks:
|
||
|
node-network:
|
||
|
driver: bridge
|