code.pablomurad.com

bbs-hammer

SSH BBS with forums, chat, door games, retro terminals and a weather service, written in Go

compose.yaml raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Dev loop: bind-mount the repo, rebuild with go build, restart the service.
# ping/MTR need extra capabilities; do not use privileged: true.
services:
  live:
    container_name: hammer-live
    build:
      context: .
      dockerfile: Dockerfile
      target: live
    working_dir: /app
    volumes:
      - .:/app
    ports:
      - "2222:2222"
      - "8080:8080"
    cap_add:
      - NET_RAW
      - NET_ADMIN
    command: ["/app/srv", "srv", "config.local.yaml"]