mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 15:48:44 +05:00
20 lines
446 B
YAML
20 lines
446 B
YAML
nginx:
|
|
# Note : Only nginx:alpine supports bcrypt.
|
|
# If you don't need to use bcrypt, you can use a different tag.
|
|
# Ref. https://github.com/nginxinc/docker-nginx/issues/29
|
|
image: "nginx:alpine"
|
|
ports:
|
|
- 80:80
|
|
links:
|
|
- registry:registry
|
|
volumes:
|
|
- ./auth:/etc/nginx/conf.d
|
|
- ./auth/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
|
|
registry:
|
|
image: registry:2
|
|
ports:
|
|
- 5000:5000
|
|
volumes:
|
|
- ./data:/var/lib/registry
|