5 image: akkoma-db:latest
6 build: ./docker-resources/database
7 restart: unless-stopped
10 # This might seem insecure but is usually not a problem.
11 # You should leave this at the "akkoma" default.
12 # The DB is only reachable by containers in the same docker network,
13 # and is not exposed to the open internet.
15 # If you do change this, remember to update "config.exs".
17 POSTGRES_USER: akkoma,
18 POSTGRES_PASSWORD: akkoma,
25 target: /var/lib/postgresql/data
30 restart: unless-stopped
36 # Uncomment/Change port mappings below as needed.
37 # The left side is your host machine, the right one is the akkoma container.
38 # You can prefix the left side with an ip.
40 # Webserver (for reverse-proxies outside of docker)
41 # If you use a dockerized proxy, you can leave this commented
42 # and use a container link instead.
43 "127.0.0.1:4000:4000",
48 # Uncomment the following if you want to use a reverse proxy
50 # image: caddy:2-alpine
51 # restart: unless-stopped
59 # - ./docker-resources/Caddyfile:/etc/caddy/Caddyfile
60 # - ./caddy-data:/data
61 # - ./caddy-config:/config