2023-01-17 22:04:53 +09:00
|
|
|
services:
|
|
|
|
elk:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
2023-03-01 16:17:34 +09:00
|
|
|
volumes:
|
|
|
|
# make sure this directory has the same ownership as the elk user from the Dockerfile
|
|
|
|
# otherwise Elk will not be able to store configs for accounts
|
|
|
|
# e.q. mkdir ./elk-storage; sudo chown 911:911 ./elk-storage
|
|
|
|
- './elk-storage:/elk/data'
|
2023-01-17 22:04:53 +09:00
|
|
|
ports:
|
|
|
|
- 5314:5314
|