forked from elixir-mint/mint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
33 lines (29 loc) · 891 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
version: '3'
services:
proxy:
build: ./test/docker/tinyproxy
ports:
- "8888:8888"
proxy-auth:
build: ./test/docker/tinyproxy-auth
ports:
- "8889:8888"
httpbin:
image: docker.io/kennethreitz/httpbin:latest
platform: linux/amd64
ports:
- "8080:80"
caddyhttpbin:
image: docker.io/caddy:2.8.4-alpine
# In GitHub Actions we want to access the files created
# by Caddy. However, in Linux these end up being owned by root
# because the container by default runs using the root user
# and we are not root in the GH action so we cannot access them.
user: "${DOCKER_USER}"
volumes:
# The :z mount option solves issues with SELinux.
# See https://github.com/elixir-mint/mint/pull/406.
- "./caddy_storage:/caddy_storage:z"
- "./Caddyfile:/etc/caddy/Caddyfile:z"
ports:
- "8443:8443"