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.
31 lines
590 B
31 lines
590 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:
|
|
image: localhost/jonathan.is:deploy
|
|
build:
|
|
context: .
|
|
dockerfile: Containerfile
|
|
target: deploy
|
|
pull_policy: never
|
|
env_file:
|
|
- production.env
|
|
command: "neocities push --prune /pub"
|
|
|
|
volumes:
|
|
caddy_data:
|
|
external: true
|
|
caddy_config:
|