diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100755 index 0000000..c5d44ac --- /dev/null +++ b/docker-compose.yml @@ -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" \ No newline at end of file diff --git a/scripts/start.sh b/scripts/start.sh new file mode 100755 index 0000000..06d3063 --- /dev/null +++ b/scripts/start.sh @@ -0,0 +1,3 @@ +#! /bin/bash + +docker-compose up -d