Added docker-compose

+ start script for people who cant remember
This commit is contained in:
BuildTools
2021-10-28 16:08:16 +02:00
parent e816e0beee
commit 5c0bc20bfd
2 changed files with 25 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
version: "3"
services:
mail:
image: boky/postfix
restart: always
environment:
- ALLOWED_SENDER_DOMAINS=mail.${DOMAIN}
ports:
- "587:587"
container_name: "postfix"
postgres:
image: postgres
restart: always
environment:
- POSTGRES_PASSWORD=${DATABASE_PASSWORD}
ports:
- 5432:5432
container_name: "postgres"
#server:
# build: .
# restart: always
# container_name: "server"
+3
View File
@@ -0,0 +1,3 @@
#! /bin/bash
docker-compose up -d