forked from ultrasecurity/Storm-Breaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 929 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 929 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
32
33
34
35
36
37
38
39
40
services:
caddy:
image: caddy:alpine
ports:
- "${HTTP_PORT:-80}:80"
- "${HTTPS_PORT:-443}:443"
- "${HTTPS_PORT:-443}:443/udp"
volumes:
- ./storm-web:/var/www/html:ro
- ./docker/caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
- caddy_config:/config
environment:
- SITE_ADDRESS=${DOMAIN:-localhost}
depends_on:
- php
restart: unless-stopped
php:
build: ./docker/php
volumes:
- ./storm-web:/var/www/html
environment:
- AGE_SERVICE_URL=http://age-service:3535
restart: unless-stopped
age-service:
build:
context: ./docker/age-service
dockerfile: Dockerfile
volumes:
- ./storm-web/images:/var/www/html/images
- ./modules/age_service.py:/app/age_service.py:ro
environment:
- AGE_SERVICE_HOST=0.0.0.0
restart: unless-stopped
volumes:
caddy_data:
caddy_config: