-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
41 lines (40 loc) · 1.2 KB
/
docker-compose.yaml
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
services:
machine1:
build: .
hostname: machine1
ports:
- "6901:6901"
shm_size: 512m
privileged: true
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.machine1.rule=Host(`localhost`) && PathPrefix(`/machine1`)"
# - "traefik.http.routers.machine1.entrypoints=websecure"
# - "traefik.http.routers.machine1.tls=true"
# - "traefik.http.routers.machine1.tls.certresolver=myresolver"
# - "traefik.http.services.machine1.loadbalancer.server.port=6901"
# - "traefik.http.services.machine1.loadbalancer.server.scheme=https"
# networks:
# - traefik
# traefik:
# image: traefik
# command:
# - "--api.insecure=true"
# - "--providers.docker=true"
# - "--entrypoints.web.address=:80"
# - "--entrypoints.websecure.address=:443"
# - "--serversTransport.insecureSkipVerify=true"
# - "--entrypoints.websecure.http.tls=true"
# - "--log.level=DEBUG"
# ports:
# - "80:80"
# - "8080:8080"
# - "443:443"
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# - ./certs:/certs
# networks:
# - traefik
# networks:
# traefik:
# driver: bridge