mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
44 lines
1,008 B
YAML
Executable file
44 lines
1,008 B
YAML
Executable file
services:
|
|
nginx:
|
|
build:
|
|
context: './nginx_ssl'
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- '443:443'
|
|
- '80:80'
|
|
environment:
|
|
- REMOTE_URL=http://verdaccio_relative_path_v6:4873/
|
|
networks:
|
|
- node-network
|
|
container_name: 'nginx_ssl'
|
|
depends_on:
|
|
- verdaccio
|
|
- verdaccio-root
|
|
verdaccio:
|
|
image: verdaccio/verdaccio:nightly-master
|
|
container_name: 'verdaccio_relative_path_v6'
|
|
networks:
|
|
- node-network
|
|
environment:
|
|
- VERDACCIO_PORT=4873
|
|
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
|