github.com/martinohmann/rfoutlet@v1.2.1-0.20220707195255-8a66aa411105/docker-compose.yaml (about) 1 --- 2 version: '3' 3 services: 4 rfoutlet: 5 container_name: rfoutlet 6 image: mohmann/rfoutlet:latest 7 # Uncomment if you want to build the image yourself: 8 # 9 # build: . 10 ports: 11 - '3333:3333' 12 volumes: 13 - /etc/localtime:/etc/localtime:ro 14 - ${CONFIG_PATH:-./configs/config.yml}:/etc/rfoutlet/config.yml:ro 15 # set "state_file: state.json" in config.yml to store 16 # the outlet state in the state-storage volume to 17 # persist it across container restarts. 18 - state-storage:/state-storage 19 working_dir: /state-storage 20 privileged: true 21 restart: unless-stopped 22 volumes: 23 state-storage: {}