forked from nginx-proxy/nginx-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (41 loc) · 1005 Bytes
/
docker-compose.yml
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
version: '2'
services:
nginx-proxy:
image: sdelements/nginx-proxy
container_name: magic_nginx_proxy
restart: unless-stopped
networks:
- nginx-proxy
ports:
- "443:443"
security_opt:
- label:type:docker_t
volumes:
- /home/gitlab-runner/magic_nginx_proxy_certs:/etc/nginx/certs
- /var/run/docker.sock:/tmp/docker.sock:ro
minio:
image: minio/minio
container_name: review_apps_minio
restart: unless-stopped
networks:
nginx-proxy:
aliases:
- review_apps_minio
expose:
- "9001"
- "9000"
environment:
VIRTUAL_HOST: minio.review.sdelements.com
VIRTUAL_PORT: 9001
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
volumes:
- minio_data:/minio_data
entrypoint: sh
command: -c '/opt/bin/minio server /minio_data --console-address :9001'
volumes:
minio_data:
name: review_apps_minio_data
networks:
nginx-proxy:
name: nginx-proxy