version: '2' services: thelounge: build: context: ./ container_name: thelounge ports: - "9000:9000" restart: always volumes: - ~/.thelounge:/var/opt/thelounge # bind lounge config from the host's file system