You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
927 B
31 lines
927 B
#docker-compose up -d
|
|
version: "3.8"
|
|
services:
|
|
website:
|
|
volumes:
|
|
- ./conf/website/edusoa.pem:/etc/nginx/edusoa.pem
|
|
- ./conf/website/edusoa.key:/etc/nginx/edusoa.key
|
|
#https://docs.docker.com/registry/deploying/
|
|
registry:
|
|
image: registry:2.7.1
|
|
restart: always
|
|
ports:
|
|
- 9500:5000
|
|
volumes:
|
|
- ./data/registry:/var/lib/registry
|
|
docker-registry-web:
|
|
image: hyper/docker-registry-web:latest
|
|
restart: always
|
|
ports:
|
|
- 9580:8080
|
|
depends_on:
|
|
- registry
|
|
environment:
|
|
- REGISTRY_URL=http://registry:5000/v2
|
|
- REGISTRY_TRUST_ANY_SSL=true
|
|
- REGISTRY_NAME=registry.iot.edusoa.com hyper/docker-registry-web
|
|
rpms:
|
|
image: nginx:1.18.0
|
|
restart: always
|
|
volumes:
|
|
- ./data/rpms:/usr/share/nginx/html |