summaryrefslogtreecommitdiff
path: root/compose.yml
blob: e0f4df848026e4f16c3ab0d1fdc2945d1724e8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
  gemini:
    image: git.joeac.net/joeac/joeac.net-gemini
    build:
      context: .
      dockerfile: gemini.Dockerfile
    ports:
      - "1965:1965"

  http:
    image: git.joeac.net/joeac/joeac.net-http
    build:
      context: .
      dockerfile: http.Dockerfile
      args:
        LOCAL_SMTP_HOST: smtp
        LOCAL_SMTP_PORT: 2500
        LOCAL_SMTP_PASSWORD: smtp
    env_file:
      - .env
    ports:
      - "8080:8080"

  smtp:
    image: git.joeac.net/joeac/joeac.net-smtp
    build:
      context: smtp
      args:
        LOCAL_SMTP_PORT: 2500
    env_file:
      - .env
    environment:
      LOCAL_SMTP_PORT: 2500
      LOCAL_SMTP_PASSWORD: smtp
      REMOTE_SMTP_PASSWORD_FILE: /run/secrets/remote_smtp_password
    secrets:
      - remote_smtp_password

secrets:
  remote_smtp_password:
    external: true