You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
386 B
YAML
26 lines
386 B
YAML
2 weeks ago
|
version: '3'
|
||
|
services:
|
||
|
lb:
|
||
|
image: docker.io/caddy:2
|
||
|
volumes:
|
||
|
# - /app/lb:/etc/caddy
|
||
|
- ./lb/:/etc/caddy
|
||
|
- config:/config
|
||
|
- data:/data
|
||
|
networks:
|
||
|
- lb
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- "443:443"
|
||
|
- "80:80"
|
||
|
nginx:
|
||
|
image: nginx
|
||
|
restart: unless-stopped
|
||
|
networks:
|
||
|
- lb
|
||
|
networks:
|
||
|
lb:
|
||
|
volumes:
|
||
|
config:
|
||
|
data:
|