services: f0ck: container_name: f0bm image: f0bm:latest networks: - f0cked volumes: - ./config.json:/opt/f0ckv2/config.json - ./f0bm.sql:/opt/f0ckv2/f0bm.sql - ./f0ck-data/b/:/opt/f0ckv2/public/b/ - ./f0ck-data/t/:/opt/f0ckv2/public/t/ ports: - "127.0.0.1:1338:1337" restart: on-failure postgres: container_name: postgres image: postgres environment: POSTGRES_DB: f0ck POSTGRES_USER: f0ck POSTGRES_PASSWORD: f0ck PGDATA: /data/postgres volumes: - ./postgres:/data/postgres ports: - "127.0.0.1:5432:5432" networks: - f0cked restart: unless-stopped networks: f0cked: driver: bridge volumes: postgres: f0bm: