From cb0162c24c73cf13867b40cceaa0818b82637307 Mon Sep 17 00:00:00 2001 From: M_Viper Date: Mon, 12 Feb 2024 21:17:19 +0000 Subject: [PATCH] Dateien nach "install-mailpit-on-docker" hochladen --- install-mailpit-on-docker/docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 install-mailpit-on-docker/docker-compose.yml diff --git a/install-mailpit-on-docker/docker-compose.yml b/install-mailpit-on-docker/docker-compose.yml new file mode 100644 index 0000000..93a7acb --- /dev/null +++ b/install-mailpit-on-docker/docker-compose.yml @@ -0,0 +1,17 @@ +version: "3" # Docker Compose file version + +services: + app: + image: axllent/mailpit:v1.13.3 # Docker image for the 'app' service + container_name: mailpit # Name of the container + restart: unless-stopped # Restart policy for the container (unless stopped) + volumes: + - mailpit_data:/data # Mount a named volume called 'mailpit_data' to /data in the container + environment: + - TZ=UTC # Setting the container's time zone to UTC + ports: + - "8025:8025" # Expose port 8025 on the host and map it to port 8025 in the container + - "1025:1025" # Expose port 1025 on the host and map it to port 1025 in the container + +volumes: + mailpit_data: # Define the named volume 'mailpit_data'