the default docker compose file should be minimal and easy to read as docker-compose.yml other docker-compose variants for typical setup should be named as: docker-compose.<variant>.yml this way one could use e.g. `docker compose -f docker-compose.traefik.yml up` to start the variant for traefik. (mind keeping the file extension) and fixed a typo the README.md
26 lines
451 B
YAML
26 lines
451 B
YAML
---
|
|
version: "3.4"
|
|
|
|
services:
|
|
app:
|
|
image: hargata/lubelog:latest
|
|
build: .
|
|
restart: unless-stopped
|
|
# volumes used to keep data persistent
|
|
volumes:
|
|
- config:/App/config
|
|
- data:/App/data
|
|
- documents:/App/wwwroot/documents
|
|
- images:/App/wwwroot/images
|
|
- log:/App/log
|
|
# expose port and/or use serving via traefik
|
|
ports:
|
|
- 8080:8080
|
|
|
|
volumes:
|
|
config:
|
|
data:
|
|
documents:
|
|
images:
|
|
log:
|