mirror of
https://github.com/detleph/server.git
synced 2026-09-08 07:56:18 +02:00
Added docker-compose
+ start script for people who cant remember
This commit is contained in:
Executable
+22
@@ -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"
|
||||||
Executable
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
docker-compose up -d
|
||||||
Reference in New Issue
Block a user