-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (48 loc) · 1.19 KB
/
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
45
46
47
48
49
50
51
52
53
version: '3'
services:
traefik:
container_name: traefik
image: traefik:latest
command:
- --api.insecure=true
- --providers.docker
ports:
- "80:80"
- "8080:8080" # The Web UI (enabled by --api)
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- proxy
restart: always
aws:
build: ./aws/
container_name: aws-service
networks:
- proxy
command: pipenv run python aws-service.py
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.aws-service.rule=Host(`aws.localhost`)"
sketchfab:
build: ./sketchfab/
container_name: sketchfab-service
networks:
- proxy
command: pipenv run python sketchfab-service.py
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.sketchfab-service.rule=Host(`sketchfab.localhost`)"
vimeo:
build: ./vimeo/
container_name: vimeo-service
networks:
- proxy
command: pipenv run python vimeo-service.py
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.vimeo-service.rule=Host(`vimeo.localhost`)"
networks:
proxy: