summaryrefslogtreecommitdiff
path: root/compose.yml
blob: 539ee3f65076ccaa7e3d31af1c532f36da06a98b (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
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
    env_file:
      - .env
    ports:
      - "8080:8080"

  smtp:
    image: git.joeac.net/joeac/joeac.net-smtp
    build:
      context: .
      dockerfile: smtp.Dockerfile
      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