You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
615 B

services:
jonathan.is:
image: jonathan.is
pull_policy: never
build:
context: .
dockerfile: Containerfile
restart: unless-stopped
ports:
- "8081:80"
- "8443:443"
- "8443:443/udp"
volumes:
- caddy_data:/data
- caddy_config:/config
deploy:
profiles: [ deploy ]
image: localhost/jonathan.is:deploy
pull_policy: never
env_file:
- production.env
build:
context: .
dockerfile: Containerfile
target: deploy
command: "neocities push --prune /pub"
volumes:
caddy_data:
external: true
caddy_config: