-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (57 loc) · 1.23 KB
/
docker-compose.yml
File metadata and controls
61 lines (57 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: '3.1'
services:
api:
container_name: api
image: api:latest
restart: always
#ports:
# - 8500:5000
volumes:
- /home/vagrant/projet_docker/student-list/simple_api/student_age.json:/data/student_age.json
networks:
- studentlist
my_apache:
container_name: my_apache
image: php:apache
restart: always
depends_on:
- api
environment:
USERNAME: "toto"
PASSWORD: "python"
volumes:
- ./website:/var/www/html
ports:
- 8080:80
networks:
- studentlist
registry:
container_name: resgitry
image: registry:2
restart: always
ports:
- 5000:5000
networks:
- studentlist
registry-ui:
depends_on:
- registry
container_name: resgitry-ui
image: joxit/docker-registry-ui:main
restart: always
ports:
- 80:80
networks:
- studentlist
environment:
- SINGLE_REGISTRY=true
- REGISTRY_TITLE="Credo Ngoukeng"
- DELETE_IMAGES=true
- SHOW_CONTENT_DIGEST=true
- NGINX_PROXY_PASS_URL=http://registry:5000
- SHOW_CATALOG_NB_TAGS=true
- TAGLIST_PAGE_SIZE=10
- REGISTRY_SECURED=false
- CATALOG_ELEMENTS_LIMIT=10
networks:
studentlist: