-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
43 lines (40 loc) · 1.3 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
services:
build-manager:
build:
context: ./
dockerfile: ./build-manager/docker/Dockerfile
args:
- DOCKER_GID=${DOCKER_GID:-964}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./repository:/repository:cached
- ./packagelist.config.json:/repository-builder/packagelist.config.json:ro
- package-staging:/package-staging
- aur-package-list:/aur-package-list
restart: unless-stopped
networks:
- default
nginx:
image: nginx:latest
volumes:
- ./repository:/usr/share/nginx/html:ro
- ./assets/nginx-default.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
networks:
- default
- traefik-reverse-proxy
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik-reverse-proxy"
- "traefik.http.routers.docker-aur-cache-nginx.rule=Host(`${BASE_URL:-docker-aur-cache.localhost}`)"
- "traefik.http.routers.docker-aur-cache-nginx.entrypoints=http"
- "traefik.http.routers.docker-aur-cache-nginx.tls=false"
volumes:
package-staging:
aur-package-list:
# You can find the Traefik reverse proxy container on GitHub
# https://github.com/CrazyVito11/traefik-reverse-proxy
networks:
traefik-reverse-proxy:
name: traefik-reverse-proxy
external: true