Dateien nach "install-memos-on-docker" hochladen

This commit is contained in:
M_Viper 2024-02-12 21:19:04 +00:00
parent f45b8ce9ba
commit 52a93b3549
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# This is a Docker Compose file in version 3 syntax.
version: "3"
# This section defines the services to be run.
services:
# Define a service named 'memos'.
memos:
# Use the latest image from the neosmemo/memos repository.
image: neosmemo/memos:latest
# Assign a container name 'memos' for easier identification.
container_name: memos
# Mount a volume to persist data.
# Map the host directory '/DATA/AppData/memos' to '/var/opt/memos' in the container.
volumes:
- memos_data:/var/opt/memos
# Map port 5230 on the host to port 5230 on the container.
ports:
- 5230:5230
# Define named volumes for data persistence.
volumes:
# Define a named volume for Memos data.
memos_data:
# Use the local storage driver.
driver: local