mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 17:04:27 +01:00
fix: remove deprecated compose version tag
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
version: "3.7"
|
||||
services:
|
||||
|
||||
caddy:
|
||||
image: caddy:latest
|
||||
container_name: caddy
|
||||
@@ -9,6 +9,9 @@ services:
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
expose:
|
||||
- 80 # http
|
||||
- 443 # https
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/caddy/CaddyFile:/etc/caddy/Caddyfile
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/caddy/data:/data
|
||||
|
||||
Reference in New Issue
Block a user