2024-05-28 16:55:33 -03:00
|
|
|
version: "3.3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
static-web-server:
|
|
|
|
image: joseluisq/static-web-server:latest
|
|
|
|
container_name: blog
|
|
|
|
ports:
|
|
|
|
- 8081:80
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
# Note: those envs are customizable but also optional
|
|
|
|
- SERVER_ROOT=/var/public
|
|
|
|
- SERVER_CONFIG_FILE=/etc/config.toml
|
|
|
|
volumes:
|
2024-06-20 01:18:00 -03:00
|
|
|
- /docker/appdata/blog/public:/var/public
|
2024-05-28 16:55:33 -03:00
|
|
|
- /docker/appdata/static-web-server/blog.toml:/etc/config.toml
|