-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 824 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (30 loc) · 824 Bytes
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
version: "3.9"
services:
caddy:
image: caddy:2-alpine
container_name: folderapi-caddy
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./:/srv/root:ro
- ./configs/caddy/Caddyfile:/etc/caddy/Caddyfile:ro
nginx:
image: nginx:1.27-alpine
container_name: folderapi-nginx
restart: unless-stopped
ports:
- "8081:80"
volumes:
- ./:/usr/share/nginx/html:ro
- ./configs/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
apache:
image: httpd:2.4
container_name: folderapi-apache
restart: unless-stopped
ports:
- "8082:80"
volumes:
- ./:/usr/local/apache2/htdocs:ro
- ./configs/apache/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
# IIS is not included here (Windows-only). See README for manual steps.